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

Started by Nagataka, October 25, 2015, 10:49:30 AM

Previous topic - Next topic

Nagataka

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
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?

Igor S.

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

Nagataka

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?

Igor S.

Hi Nagataka .

Config files is:
/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

Nagataka

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.

Igor S.




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

Vision

Quote from: Igor S. on October 29, 2015, 11:42:44 AM
Hi Nagataka .

Config files is:
/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...


myselfsufian

Quote from: Igor S. on October 26, 2015, 04:15:22 PM
Hello.

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

That works perfect, Thanks you save my Time..