Guest bugis Posted April 17, 2009 Share Posted April 17, 2009 Dear all I have problem on installing the cubecart (v4) at hostgator, this the problem: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ismail'@'localhost' (using password: YES) in /home/rahi4903/public_html/classes/db/db.php on line 42 Access denied for user 'ismail'@'localhost' (using password: YES) I have tried the following 1. set and check db, username and password at gator cpanel on mysql, everything was fine 2. I tried to peek on /db/dp.php on line 42, but i do not see any setting Please help... Quote Link to comment Share on other sites More sharing options...
Ausy Posted April 17, 2009 Share Posted April 17, 2009 It looks definately to be a wrong user name or password for the database. The user name might need to be entered as "database_yourusername" you can change this in includes/global.inc.php file Quote Link to comment Share on other sites More sharing options...
Guest jarmitage Posted April 28, 2009 Share Posted April 28, 2009 I am having this problem too and I cant find out what is causing it... Quote Link to comment Share on other sites More sharing options...
Guest Posted April 28, 2009 Share Posted April 28, 2009 I am having this problem too and I cant find out what is causing it... This is an easy fix even though I struggled with it for 2 days. Anyway... Go to control panel in Host Gator and click on mysql databases. Delete whatever you created, then create a new database called 'cubecart'. Next add a user name and password. After that set your user permissions to 'ALL'. Note that your database will look like this: yourname_cubecart and your user name will look like this: yourname_username. If your confused, simply leave control panel open in another window while you install cubecart. When you get to screen where you enter the above info, either type in the above info in the appropriate fields, or cut and paste and then use the database password you set up in mysql. Next, fill in the rest of the blanks and leave the box empty that says 'subscribe to cc mailing list' and you should be good to go. Quote Link to comment Share on other sites More sharing options...
Guest jarmitage Posted April 29, 2009 Share Posted April 29, 2009 thanks for this - its worth pointintg out I am not with host gator and my hosts MYSQL does not have a point in the creation of databases to assign a password so it was this that was catching me out. I used the USERNAME password left the mailout checkbox UNTICKED and this worked... thanks so much Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.