j0719 Posted October 11, 2014 Share Posted October 11, 2014 I have tried and tried and tried but I get to step four on the installation process and I get this error message: Could not connect to the database! Please check the database connection details you provided and ensure the mysql user has access to the given database name. I just created the database and all the details are correct. The info in the fields are: License Key: XXXXXX [TABLE] [TR] [TD]Database Host: localhost Database Username: server_username Database Password:xxxxxxx Database Name: server_databasename Still it will not work. I am getting to the point where I am just fed up with trying. Can anyone help? I have searched the threads but can't seem to find a clear answer.[/TD] [TD][/TD] [/TR] [/TABLE] 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted October 11, 2014 Share Posted October 11, 2014 Ensure that in your configuration.php file you are using the correct credentials. 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted October 14, 2014 Share Posted October 14, 2014 does it work from an SSH prompt using the db user, db name and db password information in your configuration.php ? 0 Quote Link to comment Share on other sites More sharing options...
vec Posted October 14, 2014 Share Posted October 14, 2014 it's case sensitive on a linux box and look for spaces too and weird characters in the names 0 Quote Link to comment Share on other sites More sharing options...
ganewbie Posted August 31, 2015 Share Posted August 31, 2015 Gents, I have the same problem, The user has all privileges and I can access to the database from ssh. But cannot install WHMCS. Oops! There's a problem Could not connect to the database Please check the database connection details you provided and ensure the mysql user has access to the given database name. What do you think? Thanks, 0 Quote Link to comment Share on other sites More sharing options...
snake Posted September 1, 2015 Share Posted September 1, 2015 Have you tried using the ROOT login to see if that works ? if it does then it is a permissions issue. Make sure you have given the user explicit permission to connect from the server where whmcs is installed (localhost if it is same server). I find is easier to allow connections from % (anywhere) and then lock down remote access in the firewall instead. 0 Quote Link to comment Share on other sites More sharing options...
innovot Posted September 2, 2015 Share Posted September 2, 2015 Hopefully you are using the standard 3306 port, if not, and you are installing v6 then you are out of luck as it currently does not support non standard DB ports. 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.