Control Web Panel

WebPanel => MySQL => Topic started by: vahidiravani on May 11, 2015, 05:52:29 PM

Title: Upgrade MySQL & Error
Post by: vahidiravani on May 11, 2015, 05:52:29 PM
hi.
after upgrade mysql by this code :
Code: [Select]
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:
Code: [Select]
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 :
Code: [Select]
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
Title: Re: Upgrade MySQL & Error
Post by: vahidiravani on May 12, 2015, 12:58:15 PM
This Problem solved by reinstalling cwp. :)