Vertimyst Posted June 30, 2010 Share Posted June 30, 2010 Hi, I recently installed Wordpress to my server, and created the MySQL database through the cPanel wizard. When doing so, it asked me to create a user, so I entered the username 'admin' and put in a password. Now, after doing that, I went to load up WHMCS, but I got this error: Critical ErrorCould not connect to the database I went into cPanel and looked at my SQL users list. Apparently, there's only one 'admin' - which I apparently created for WHMCS. My guess is the password I entered for Wordpress overwrote the one WHMCS was using, so now it can't connect. Is it possible to change the password WHMCS is trying to use? I know Wordpress uses a PHP configuration file for this, does WHMCS have a similar option? 0 Quote Link to comment Share on other sites More sharing options...
simplybe Posted June 30, 2010 Share Posted June 30, 2010 You are correct, you changed the password for an exisiting user. Login to cpanels filemanager and edit the file configuration.php in your whmcs directory. change the password line: $db_password = "xxxxxxxxx"; save and you should be ok 0 Quote Link to comment Share on other sites More sharing options...
Vertimyst Posted June 30, 2010 Author Share Posted June 30, 2010 You are correct, you changed the password for an exisiting user. Login to cpanels filemanager and edit the file configuration.php in your whmcs directory. change the password line: $db_password = "xxxxxxxxx"; save and you should be ok Awesome, thanks so much. Exactly what I was looking for. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.