Jump to content

Recommended Posts

Totally new to MySQL. Just purchased a shopping cart called Squirrel Cart. It required setting up user name, password and database. I have followed the Squirrel Cart instructions to set these up and the database is created; however, the Squirrel Cart software cannot connect to mysql database when username, password and database are supplied.

Any suggestions how to resolve this. Would someone be willing to look at the config.htm from Squirrel Cart that was created to troubleshoot.

Thanks
Calvin
Link to comment
https://forums.phpfreaks.com/topic/3582-my-sql-and-squirrel-cart/
Share on other sites

That's true. After creating the database, I added "Grant all privileges *.* to 'calvinmcdaniel'@'localhost' identified by 'perrydog;

I've read a couple articles about mysql adding prefixed to usernames and another about not using the ' around password.

Squirrel Cart support hasn't really helped. They say it has to be something with mysql.

In their config file store.php, it wants you to add the following :

$sql_host = 'localhost';

$sql_username = 'calvinmcdaniel';
$sql_password = 'perrydog';

$db = 'c:\program files\mysql\mysql server 5.0\data\framedata;

Do these look correct. Framedata is the name of my database to connect to.

Thanks
Calvin
This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.