Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error after install database.php


minfinger

Recommended Posts

Ok so I did the install of 2.2 rc 2a.

 

Had the problem with the writeable configuration.php files.

First I tried using that Protection to Configuration module, after I refreshed admin control panel I got

 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'mysql'@'localhost' (using password: NO) in /home/minfinge/public_html/mikessalsa.com/admin/includes/functions/database.php on line 19

Unable to connect to database server!

 

Nothing's changed on the server that I know of, but the mods I made.

 

So I made .old files of all the originals incase of failure.

I rename everything back and I still get the above error.

 

I modded the configuration.php files to 444. I found 3 of them, but the mod thread only reference 2????

 

Any help would be appreciated.

Link to comment
Share on other sites

Mike

 

The shop is trying to connect to the db with a user name of mysql and no password.

 

Is your db set up to allow this?

 

Use phpmyadmin to set up a user, give them all privileges to your db and set a password.

 

Then backup these 2 files /includes/configure.php and admin/includes/configure.php.

 

Then edit them to reflect these changes.

 

Where is the third configuration file? Might need to edit this one as well.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

Mike

 

The shop is trying to connect to the db with a user name of mysql and no password.

 

Is your db set up to allow this?

 

Use phpmyadmin to set up a user, give them all privileges to your db and set a password.

 

Then backup these 2 files /includes/configure.php and admin/includes/configure.php.

 

Then edit them to reflect these changes.

 

Where is the third configuration file? Might need to edit this one as well.

I ended up deleting the site and original DB and starting over.

 

I was in a daze last night working on this. I found the 2 configure.php files and another called configuration.php

 

At this point I'm getting really irritated with this configuration process for doing Paypal.

 

How the heck do you setup Paypal for people who have no paypal account?

 

I also want to use the encryption stuff, but that SSL crap blows my mind.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...