Jump to content

Unable to connect to database


klospros

Recommended Posts

Hi,

 

I have installed a development version of WHMCS on WIndows Server 2008, have installed mysql and mysql administrator, created an empty database and can connect with no issues with mysql admin using the new users details, but WHMCS cannot connect to complete the install. Am I missing something?

I have edited the php.ini file to allow curl and mysql but this is beating me at the moment :(

Any assistance and or ideas to try will be most welcome:)

 

Cheers

 

Klos

Link to comment
Share on other sites

I have problem installing the WHCMS.

When I hit .../install/install.php it foward to http://www.default.com

 

The .../configuration.php was blank. After searching on this forum I changed the file to:

 

<?php

$link = mysql_connect("localhost", "user", "password");

 

if(!$link)

die("Error: ".mysql_error());

 

$db_selected = mysql_select_db("database", $link);

 

if(!$db_selected)

die("Error: ".mysql_error());

?>

 

Still not able to connect. Any help will be welcome.

Link to comment
Share on other sites

  • 1 month later...

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