• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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