thessrtech Posted October 13, 2005 Share Posted October 13, 2005 Warning: mysql_connect(): Access denied for user: 'mysql@localhost' (Using password: NO) in /home/addictiv/public_html/catalog/admin/includes/functions/database.php on line 19 Unable to connect to database server! $$link = mysql_connect($server, $username, $password); Thats the code on line 19 Link to comment Share on other sites More sharing options...
thessrtech Posted October 13, 2005 Author Share Posted October 13, 2005 Warning: mysql_connect(): Access denied for user: 'mysql@localhost' (Using password: NO) in /home/addictiv/public_html/catalog/admin/includes/functions/database.php on line 19Unable to connect to database server! $$link = mysql_connect($server, $username, $password); Thats the code on line 19 I meant to say, that's the code in database.php on line 19 that the warning! error is referring too. However I've changed it back to the stock configuration and found that it was unchanged. I've never altered this file. Link to comment Share on other sites More sharing options...
♥Vger Posted October 13, 2005 Share Posted October 13, 2005 In admin/includes/configure.php enter the password for mysql access. It appears to be missing. Vger Link to comment Share on other sites More sharing options...
thessrtech Posted October 13, 2005 Author Share Posted October 13, 2005 In admin/includes/configure.php enter the password for mysql access. It appears to be missing. Vger When I made the following changes it sayss 1046 - No Database Selected select configuration_key as cfgKey, configuration_value as cfgValue from configuration [TEP STOP] For thgat file here's what I have punched in // define our database connection define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'addictiv'); define('DB_SERVER_PASSWORD', 'xxxxxx'); define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); Link to comment Share on other sites More sharing options...
thessrtech Posted October 13, 2005 Author Share Posted October 13, 2005 When I made the following changes it sayss1046 - No Database Selected select configuration_key as cfgKey, configuration_value as cfgValue from configuration [TEP STOP] For thgat file here's what I have punched in // define our database connection define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'addictiv'); define('DB_SERVER_PASSWORD', 'xxxxxx'); define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); Changed it a little bit more and now it's this Fatal error: Call to undefined function: tep_catalog_href_link() in /home/addictiv/public_html/catalog/admin/index.php on line 101 http://www.addictiveracing.com/catalog/admin Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.