• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

More MySQL probs since upgrade

C

colinjack

Guest
I have looked through some of the other posts regarding MySQL problems but not been able to nail this one. I am not an SQL wizard, so would appreciate some help.

Since the upgrade from 7.5.6 to 7.6 we have a client getting:

Fatal error: Call to undefined function mysql_connect() in ....

Code snip:

$dbConn = mysql_connect("localhost",'editor','R9do4Yh');

This worked fine before.
Anybody able to help?

Thanks

Colin
 
You may have to recompile PHP with mysql. It appears that PHP isn't recognizing the mysql commands.
 
Sorry, I see you are on windows. You will have to get an updated mysql library and set it up in php.ini.
 
Thanks - I found the problem. The php.ini had all the extensions commented out! Odd!

Colin
 
Back
Top