Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Please help! Not able to connect to MySQL server


le petite

Recommended Posts

:'( Hello!

 

Can somebody please help a newbie out here? After much hair pulling and searching this wonderful forum, I am finally able to get into the "New Installation" portion of oscommerce. However, while in this portion, I have stumbled across another problem that I can't seem to find an answer to, and would like a little help please.

 

When I've entered in my information for Database Import, I come up with this error...

 

A test connection made to the database was NOT successful.

 

The error message returned is:

 

Host '66.49.129.204' is not allowed to connect to this MySQL server

 

I've checked and checked again to ensure I have the proper information entered, and all appears to be correct. I even changed my MySQL password with my server again to be doubly sure, and still am getting the same response.

 

My hostname and username are correct, as is my password, and when I've clicked on the question mark by the database name, it's suggested the following...

 

Database Name

The database used to hold the data. An example database name is 'osCommerce'.

 

Which I have done.

 

Can somebody out there please help me out?

 

Thank you in advance! :D

Link to comment
Share on other sites

Try '127.0.0.1' in place of localhost. If that does not work then either:

 

1. You did not create a blank database before starting the install

2. You are supplying an incorrect user name and/or password for mysql access

3. Your domain has not been on the server long enough to have settled in.

4. Your hosting company has screwed something up.

 

Vger

Link to comment
Share on other sites

Warning: mysql_connect(): Host '******' is not allowed to connect to this MySQL server in *:\******\www\*****\******\includes\functions\database.php on line 19

Unable to connect to database server!

 

This indicates the wrong server DB_SERVER information in the configure.php files

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Try '127.0.0.1' in place of localhost.  If that does not work then either:

 

1.  You did not create a blank database before starting the install

2.  You are supplying an incorrect user name and/or password for mysql access

3.  Your domain has not been on the server long enough to have settled in.

4.  Your hosting company has screwed something up.

 

Vger

 

 

That's done the trick! Thank you so very much Vger! Your help is very much appreciated!

 

Have a lovely evening :)

 

Debbie

Link to comment
Share on other sites

There is one operating system, called Red Hat Enterprise Linux, which uses the ip address for 'localhost' (127.0.0.1) instead of 'localhost' itself. Looks like that's what your site is on - good system.

 

Vger

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...