Jump to content

Error with SQL database


Guest Julio Camacho

Recommended Posts

Guest Julio Camacho

MySQL Error Occured

2003: Can't connect to MySQL server on 'localhost' (10061)

This is the message I get I already created the SQL on the server, and I have tried putting the localhost option, my domain or the IP address that leads to the database and it is not letting get throug...

Any recommendations?

Link to comment
Share on other sites

Guest Julio Camacho

If you are certain that your host is localhost (some are not) please post the contents of your includes/global.inc file so we can look at the paths.

Ok let me get that for you. Now I have my domain in a Windows based server, will that affect my cubecart?

Link to comment
Share on other sites

Guest Julio Camacho

<?php

$glob['dbdatabase'] = '';

$glob['dbhost'] = 'localhost';

$glob['dbpassword'] = '';

$glob['dbprefix'] = '';

$glob['dbusername'] = '';

$glob['installed'] = '0';

$glob['rootDir'] = '';

$glob['rootRel'] = '';

$glob['storeURL'] = '';

?>

This is the file! ;)

Link to comment
Share on other sites

Guest Brivtech

Ok let me get that for you. Now I have my domain in a Windows based server, will that affect my cubecart?

YES!

Cubecart is php based, so therefore should be running on a Linux server. If you're lucky, you'll get away with a windows server with all the necessary php components installed, but it's not recommended.

Your config file is empty, meaning that nothing has been set up for your cubecart store yet. I'm guessing that this error has occured on the installation.

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.

×
×
  • Create New...