RE: Error 1046 on changing host/domain
Christian Lescuyer <[email protected]>
| Newsgroups | gmane.comp.web.oscommerce.installation |
|---|---|
| Message-ID | <809b2c6c945a9d7ba85d54fce40e49eb@osCommerce-Forums> |
This message was sent from: Installation and Configuration
http://forums.oscommerce.com/viewtopic.php?p=227411#227411
----------------------------------------------------------------
Quite easy: there are two [i]configure.php[/i] files with the database information. Edit them with a text editor, and change the lines at the end to fit your new setup.
[code] define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'oscommerce');
define('DB_SERVER_PASSWORD', '********');
define('DB_DATABASE', 'oscommerce');
[/code]