Discussion:
1046 - No Database Selected
nicotinecrew
2003-01-21 11:09:38 UTC
Permalink
This message was sent from: Installation and Configuration
http://forums.oscommerce.com/viewtopic.php?p=102487#102487
----------------------------------------------------------------

1046 - No Database Selected

select configuration_key as cfgKey, configuration_value as cfgValue from configuration


[TEP STOP]


I did copy a configure.php in the /includes/local-directory.
I still get the error

damn
Jan0815
2003-01-21 13:18:11 UTC
Permalink
This message was sent from: Installation and Configuration
http://forums.oscommerce.com/viewtopic.php?p=102546#102546
----------------------------------------------------------------

The entries in your configure.php are not working.

Check the db_server, name, password stuff to make sure they are correct.

The error message indicates that the credentials you entered are not accepted.

HTH
nicotinecrew
2003-01-21 15:26:00 UTC
Permalink
This message was sent from: Installation and Configuration
http://forums.oscommerce.com/viewtopic.php?p=102577#102577
----------------------------------------------------------------

// define our database connection
define('DB_SERVER', 'localhost');[color=red]-> this one right ?[/color]
define('DB_SERVER_USERNAME', '');
define('DB_SERVER_PASSWORD', '');
define('DB_DATABASE', '');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', '');

Loading...