Hello,
Upgraded using Yast earlier today which changed MySQL to version 5.6.36 and now PHP no longer connects to MySQL at all. Even phpMyAdmin cannot connect!
MySQL is running, although I restarted it and rebooted from good measure. It is possible to use MySQL interactively, select databases and run queries, so MySQL itself is working.
PHP Fails at connection:
$link = mysql_connect("localhost", $user, $pass);
if (!$link) die( "Error connecting to database: ".mysql_error());
This worked just yesterday before the upgrade but now mysql_error() returns “Permission denied”.
WTH is going on? I never had a MySQL or PHP upgrade fail via Yast and I don’t see a way to roll back, nor do I know if it is PHP or MySQL’s fault.
Please help. This is urgent, my work is stalled.
Thanks in advance,