Control Web Panel

WebPanel => Installation => Topic started by: Nagataka on October 25, 2015, 10:49:30 AM

Title: Could not connect: Access denied for user 'root'@'localhost' (using password: YE
Post by: Nagataka on October 25, 2015, 10:49:30 AM
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?
Title: Re: Could not connect: Access denied for user 'root'@'localhost' (using password: YE
Post by: Igor S. on October 26, 2015, 04:15:22 PM
Hello.

You must change mysql root password. Just run: sh /scripts/mysql_pwd_reset
Title: Re: Could not connect: Access denied for user 'root'@'localhost' (using password: YE
Post by: Nagataka on October 27, 2015, 01:37:22 PM
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?
Title: Re: Could not connect: Access denied for user 'root'@'localhost' (using password: YE
Post by: Igor S. on October 29, 2015, 11:42:44 AM
Hi Nagataka .

Config files is:
Code: [Select]
/root/.my.cnf
/usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php
Title: Re: Could not connect: Access denied for user 'root'@'localhost' (using password: YE
Post by: Nagataka on November 04, 2015, 06:47:55 PM
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.
Title: Re: Could not connect: Access denied for user 'root'@'localhost' (using password: YE
Post by: Igor S. on November 05, 2015, 10:20:13 AM
Glad to help you.
Have a nice day.
Title: Re: Could not connect: Access denied for user 'root'@'localhost' (using password: YE
Post by: Vision on October 13, 2016, 06:19:54 AM
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...
Title: Re: Could not connect: Access denied for user 'root'@'localhost' (using password: YE
Post by: Vision on October 16, 2016, 04:41:52 PM
After 3 days suddenly works again...  ::)
Title: Re: Could not connect: Access denied for user 'root'@'localhost' (using password: YE
Post by: myselfsufian on November 01, 2018, 01:24:51 PM
Hello.

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

That works perfect, Thanks you save my Time..