Dionisay Posted March 15, 2003 Share Posted March 15, 2003 Hi guys, How can I upgrade the password for the databse conection.. Thx Link to comment Share on other sites More sharing options...
Guest Posted March 15, 2003 Share Posted March 15, 2003 That's a question you'll have to ask your host. Link to comment Share on other sites More sharing options...
Dionisay Posted March 15, 2003 Author Share Posted March 15, 2003 I mean for oscommerce. When you install oscommerce you enter the database details. They are then stored some where so catalog can enter info in the database... I need to know were the catalog keeps the username and password so I can update it manualy. (In the code) Link to comment Share on other sites More sharing options...
GF Posted March 15, 2003 Share Posted March 15, 2003 4. View the file catalog/includes/configure.php and make necessary changes. // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'YOUR_USERNAME_HERE'); define('DB_SERVER_PASSWORD', 'YOUR_PASSWORD_HERE'); define('DB_DATABASE', 'YOUR_DATABSE_NAME_HERE'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> GF Link to comment Share on other sites More sharing options...
Guest Posted March 15, 2003 Share Posted March 15, 2003 ...and don't forget to make the same changes to admin/includes/configure.php. Link to comment Share on other sites More sharing options...
Dionisay Posted March 15, 2003 Author Share Posted March 15, 2003 Thx ... You saved a lot of work...Thx a million Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.