I've just upgraded MySQL from version 5.5 to 5.6.34. And now all the MySQL users are no longer present!
The cPanel equivalent is there, but this isn't much use without the actual corresponding MySQL user.
On all websites with a database, there is the error:
Warning: mysql_connect(): Access denied for user 'user_alias'@'localhost' (using password: YES) in /home/user/public_html/some_config.php on line 2
and this is what happens when I try to reset the same user in cPanel | MySQL...
(XID <randomcode>) Although the system’s database map includes a MySQL user named “user_alias”, the MySQL server reported that no user with this name exists. Contact your system administrator.
I don't want to delete and readd hundreds of MySQL users and their permissions! There must be a better way to fix this!
(I've changed some of the details here.)
The cPanel equivalent is there, but this isn't much use without the actual corresponding MySQL user.
On all websites with a database, there is the error:
Warning: mysql_connect(): Access denied for user 'user_alias'@'localhost' (using password: YES) in /home/user/public_html/some_config.php on line 2
and this is what happens when I try to reset the same user in cPanel | MySQL...
(XID <randomcode>) Although the system’s database map includes a MySQL user named “user_alias”, the MySQL server reported that no user with this name exists. Contact your system administrator.
I don't want to delete and readd hundreds of MySQL users and their permissions! There must be a better way to fix this!
(I've changed some of the details here.)