jkpvs14 Posted March 12, 2009 Share Posted March 12, 2009 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 More sharing options...
Giovanna Posted March 12, 2009 Share Posted March 12, 2009 No you set the username and password in admin\includes\configure.php Check its set correctly there Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted March 12, 2009 Share Posted March 12, 2009 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 More sharing options...
jkpvs14 Posted March 12, 2009 Author Share Posted March 12, 2009 Thank you both for your help. It worked. :-) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.