Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > Bugs > Topic : The MySQL Connection could not be established.



Threaded Mode | Print  

 The MySQL Connection could not be established., error trying to install wordpress (4 Replies, Read 15717 times)
sanderdabio
Group: Member
Post Group: Newbie
Posts: 2
Status:
Good afternoon

I installed Centos CWP and I am now trying to script install WordPress but it is giving the following error The MySQL Connection could not be established.

Before changing PHP version from 5.6 to 7.2 and changing Root password, I had installed Mautic without any problems.

I researched solutions we previous topics but did not find. I updated the Root password in 2 files, one for CWP connection and one for My.cnf.

Does anyone have any ideas?

Thank you
IP: --   

The MySQL Connection could not be established.
sanderdabio
Group: Member
Post Group: Newbie
Posts: 2
Status:
I was able to solve by running the script / script / mysql_pwd_reset.
IP: --   

The MySQL Connection could not be established.
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 4949
Status:
Hi,

It seems the password was not updated in CWP until you ran the "mysql_pwd_reset" utility. Since CWP was unable to connect to MySQL hence you were facing the issue while installing script in Softaculous.

Glad to know you were able to resolve the issue.

-----------------------
Loginizer - WordPress Security Plugin
Follow us on Twitter
IP: --   

The MySQL Connection could not be established.
soft256
Group: Member
Post Group: Newbie
Posts: 1
Status:
Quote From : sanderdabio November 26, 2019, 6:54 pm
I was able to solve by running the script / script / mysql_pwd_reset.


How do you run the script / script / mysql_pwd_reset?
IP: --   

The MySQL Connection could not be established.
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 4949
Status:
Hi,

You can refer to the following guide on how to execute the "mysql_pwd_reset" utility on CWP server :
https://wiki.centos-webpanel.com/how-to-reset-mysql-root-password

Edited by Brijesh : February 10, 2021, 7:51 am

-----------------------
Loginizer - WordPress Security Plugin
Follow us on Twitter
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
2 guests, 0 users.


All times are GMT. The time now is June 13, 2021, 4:52 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.349