Changing the default view of “The Events Calendar” for mobile

/events/ is the address of tribe_events posts archive, not of a single page, therefore the is_page() conditional tag does not work. You should use is_post_type_archive()

if( is_post_type_archive( 'tribe_events' ) ) {

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)