Upgrade MySQL & Error

Started by vahidiravani, May 11, 2015, 05:52:29 PM

Previous topic - Next topic

vahidiravani

hi.
after upgrade mysql by this code :
sh /scripts/upgrade_mysql
/scripts/upgrade_mysql


in SSL mode (https://IP:2031 ) :when i go to my control panel and then fill the username (root) and password field i have this error:

mysqld (pid 17407) is running...

Trying to start mysql server, please reload browser!

Could not connect: Access denied for user 'root'@'localhost' (using password: YES)



and in normal mode (http://IP:2030) I have this error & this page refresh every minute :
Warning: mysql_connect(): Access denied for user 'root'@'localhost' (using password: YES) in /usr/local/cwpsrv/htdocs/admin/index.php(1) : eval()'d code(1) : eval()'d code on line 2
mysqld (pid 17407) is running...

Trying to start mysql server, please wait!
Try to restart CentOS Web Panel with command: service cwpsrv restart

**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf

Could not connect: Access denied for user 'root'@'localhost' (using password: YES)


each time after reboot server  I have different pid.

I have Access to Http://IP/phpmyadmin correctly.


how can i solve this problem.
thank you

vahidiravani

This Problem solved by reinstalling cwp. :)