Help - Search - Members - Calendar
Full Version: Error with SQL database
CubeCart Forums > CubeCart Version 3 > Installation & Upgrade Help (Version 3)
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?
roban
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.
Julio Camacho
QUOTE(roban @ Sep 27 2006, 04:51 PM) *
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?
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! ohmy.gif
Brivtech
QUOTE(Julio Camacho @ Sep 28 2006, 01:54 AM) *
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.