Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PHP Warning


jkpvs14

Recommended Posts

Hello there,

 

I installed the oscommerce and when I have the option to either click on Administration or Catalog, I get this message here below.

 

Unable to connect to database server!PHP Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10061) in C:\Domains\padstal.com\wwwroot\shop\catalog\includes\functions\database.php on line 19

 

On line 19 it is the following code:

 

$$link = mysql_connect($server, $username, $password);

 

Do I need to change it to the specific username and password? How can I resolve this?

 

Thank you very much.

 

Kind regards,

Jhorene

Link to comment
Share on other sites

and includes\configure.php

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

Archived

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

×
×
  • Create New...