Skip to content

Msql Problem

Featured Replies

Sorry if its wrong place to post, but i have problem with website config files which must to show server online offline status, i put my ip root pass and ect. But when i try to launch website its gives me mysql error, my server and myql is in VPS server, what i do wrong?

what error?

and u need make mysql external connection.

u can google it keyword "mysql external connect", "mysql remote access"

  • Author

this is error..

 

 

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/server/domains/l2/public_html/configs/config.php:12 Stack trace: #0 /home/server/domains/l2/public_html/index.php(1): include() #1 {main} thrown in /home/server/domains/l2/public_html/configs/config.php on line 12

this is error..

 

 

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/server/domains/l2/public_html/configs/config.php:12 Stack trace: #0 /home/server/domains/l2/public_html/index.php(1): include() #1 {main} thrown in /home/server/domains/l2/public_html/configs/config.php on line 12

read in config.php line 12

try reduce php version, or chnage all to mysqli_....

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.