Jump to content

db error


tr1p

Recommended Posts

tr1p did you get this fixed. I've been getting the same thing for two weeks off and on each day while support has not found anything yet?

 

I have seen this problem with customers on cpanel servers. Make sure your db has it's own username & password. If you use your cpanel user & pass to connect to a db it can have problems on and off with connections.

Link to comment
Share on other sites

  • 2 weeks later...

I am having this issue with a new install of the demo. Mysql is fine. Username and password entered in the install script is exactly right. config.php is written correctly. Other sites are having no issues with mysql whatsoever.

 

Could not connect to the database - check the database connection details you entered and go back and correct them if necessary happens on install.php?step4 no matter what I do.

 

This is with both the straight 3.81 and with the 3.82 files copied over.

 

My only question is possible with the ioncube install. I copied ioncube folder into the whmcs folder and also added the correct line in the correct spot in the correct php.ini. phpinfo show the ioncubeloader as recognized. Somewhere I read that it needed to be in a parent folder of the folder I need decrypting. Is this correct? Oh well I will try it to be sure.

Link to comment
Share on other sites

Update. Ioncube in parent directory and ioncube in /usr/local with line in php.ini edited each time to reflect the correct location all showing same results.

 

Ubuntu 8.10 with DirectAdmin Panel installed. Connect details even using root not working. THe install script is just not able to connect to the mysql. Trying to find logs now. WIll post when I find.

Link to comment
Share on other sites

Username and password entered in the install script is exactly right.

Are you quite sure?

Has the db user been added with permissions to access the database (a common error)?

 

Seriously doubt it's ioncube related, because if it was you'd receive a warning specifically mentioning that.

Link to comment
Share on other sites

My issue solved. In my case, several files corrupted during the FTP transfer. Included was the dbconnect.php. Uploading the zip and unzipping on the server worked much better. WHMCS is installed, running, connected to my DirectAdmin Panel, Pretty well configured and waiting for branding. Thanks community!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated