DnJ Posted February 19, 2003 Share Posted February 19, 2003 I am getting an error message when trying to load the admin files. Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10061) in C:Program FilesApache GroupApache2htdocsnpadministratorincludesfunctionsdatabase.php on line 19 Unable to connect to database server! I have absolutely no idea where to start to fix this problem. "One Of Life's Greatest Pleasures Is Doing What Others Say You Can't" Link to comment Share on other sites More sharing options...
Ajeh Posted February 19, 2003 Share Posted February 19, 2003 Check the login, password and database name. Almost sounds like one of those is set wrong in the configure.php file(s) Link to comment Share on other sites More sharing options...
DnJ Posted February 19, 2003 Author Share Posted February 19, 2003 Thank you for the suggestion, you are probably right, I have tried changing the values with no luck. Not sure if I have them set right. // define our database connection define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'catalog'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'tmp'); No user or password set in my.ini of mysql "One Of Life's Greatest Pleasures Is Doing What Others Say You Can't" Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.