PDA

View Full Version : OsCommerce and phpMyAdmin


PhilCA
11-19-05, 02:12 AM
Hi All,

I installed Oscommerce via the Powweb OPS interface to play with and also to learn... It worked fine. Then, I tried to use phpMyAdmin to access and modify the database. It worked also fine. But now when I trying to come back to Oscommerce via the admin interface, I'm having the following message:

Warning: mysql_connect(): Access denied for user 'mydatabasename'@'10.0.98.35' (using password: YES) in /www/p/username/shopping/htdocs/includes/functions/database.php on line 19
Unable to connect to database server!

What did I do wrong? How do you ususally deal with your database? How do you usually add lots of product in your database when you are using OsCommerce?
Thanks
PhilCA

Pig
11-19-05, 03:35 AM
Sounds like the database connection information is incorrect. Open includes/config.php and edit the mysql information with what is currently shown on the mysql tab of OPS.

stevel
11-19-05, 10:21 AM
Well, the 10.0.98.35 has got to be wrong, unless you have installed this on a local private network.

PhilCA
11-19-05, 01:19 PM
Thanks Pig,

Right answer! :cool:
PhilCA