Intelehost wrote:
Mysql is running, the databases that were installed and the users that were there prior to the upgrade are functioning fine... I have a lot of database driven websites that all work fine still... the problem is just that plesk is not communicating with the database server and I cannot add new database users... it will let me add databases... just not users... kind of odd... is there a plesk update that may fix this?
Not sure about the possibility of rolling back, it sounds like user privileges are messed up. The 'mysql_upgrade' command should ensure GLOBAL PRIVILEGES are set correctly for admin (under plesk) or root, but to double check:
Code:
mysql -uadmin -p`cat /etc/psa/.psa.shadow`
mysql> SELECT * FROM mysql.user WHERE User='admin';
If you see Y for all privileges, try flushing them:
Code:
mysql> FLUSH PRIVILEGES;
If you see an N, reset admin privileges (ensure you copy/paste the following mysql command as a single line, otherwise you'll revoke privileges and may not be able to grant them after):
Code:
mysql> REVOKE ALL PRIVILEGES ON *.* FROM 'admin'@'localhost'; GRANT ALL PRIVILEGES ON *.* TO 'admin'@'localhost' WITH GRANT OPTION MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0; FLUSH PRIVILEGES;
If you are uncertain (or curious) of these commands, read up first and be clear on what you are doing. Start here:
http://dev.mysql.com/doc/refman/5.0/en/grant.htmlGood luck.