Author Topic: Could not connect: Access denied for user 'root'@'localhost' (using password: YE  (Read 21865 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Alright, i just had some big issues with my laptop running CWP.
I had  to reinstall perl.
So after that ofcourse mysql was goine.
Had to reinstall that too.
Now i want to login in CWP and i got the error
Code: [Select]
mysqld (pid 4304) is running...

Trying to start mysql server, please reload browser!

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

What file do i have to edit to get this working again?

Offline
*****
Hello.

You must change mysql root password. Just run: sh /scripts/mysql_pwd_reset
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Hi Igor,

Did run that script, but that didn't give the result i wanted.
Is there no config file being used for that? So the pass is written in that conf file?

Offline
*****
Hi Nagataka .

Config files is:
Code: [Select]
/root/.my.cnf
/usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Thanks Igor,

For now i will wait till the CentOS 7 installer will be available with version  0.9.8.10.
I will totally reinstall my laptop for that.

Thanks anyway for the answer.

Offline
*****
Glad to help you.
Have a nice day.
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Hi Nagataka .

Config files is:
Code: [Select]
/root/.my.cnf
/usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php
I follow this but now the my login page is lost i cant login...

Offline
*
After 3 days suddenly works again...  ::)

Offline
*
Hello.

You must change mysql root password. Just run: sh /scripts/mysql_pwd_reset

That works perfect, Thanks you save my Time..