Author Topic: Upgrade MySQL & Error  (Read 8034 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Upgrade MySQL & Error
« 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://Http://IP/phpmyadmin correctly.


how can i solve this problem.
thank you
« Last Edit: May 11, 2015, 07:54:19 PM by vahidiravani »

Offline
*
Re: Upgrade MySQL & Error
« Reply #1 on: May 12, 2015, 12:58:15 PM »
This Problem solved by reinstalling cwp. :)