Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Installing Trouble


Recommended Posts

I am so tired of installing this stuff, tried all day, different ways, but non succeed. Please help, I encounter this problem now says


"Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in /home/grapcho0/public_html/shop/catalog/includes/functions/database.php on line 18

Unable to connect to database server!"



the url: http://www.graphcan.com/shop/catalog/


thanks so much for your input.


Link to comment
Share on other sites

check your configure.php file in Catalog/includes/


in that Change the following with Your Details


define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'root');

define('DB_SERVER_PASSWORD', 'root');

define('DB_DATABASE', 'My DB Name');

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!


HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you


Proud Memeber of the CODE BREAKERS CLUB!!

Link to comment
Share on other sites

Unless you own the server it is unlikely that your MySQL User Name would be 'root' - because that would be reserved for the server. You must also have a MySQL Password.


Please make sure that you have:


1. Created a blank database

2. Created a MySQL User and Password

3. Assigned the MySQL User and Password to that database



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...