Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

MySQL Error when querying Database...


Recommended Posts

Hey Guys...been stuck on this one for a while....


Right now, I just migrated over my osC store to a new server, I am getting this error after uploading new database/files/folders....


1046 - No database selected


select configuration_key as cfgKey, configuration_value as cfgValue from configuration





This is happening when I am trying to access the store/admin section, either. I have specified the database server, database name, and login in password in ALL my config files...anyone know what is possibly going on here? I have been scratching my head all day.

Link to comment
Share on other sites

This indicates that either no database has been created or the wrong database name DB_DATABASE exists in the configure.php files.





Very weird, because the database HAS been created and imported, and all my config files are showing correct specification.

Link to comment
Share on other sites

im having the same issue, but i knwo what caused it...


i was uploading a mod... "review approval"


and instead of just uploading the needed files i uploaded the entire admin directory...


i had never downloaded the installation after i installe dit, so i had blank config files...


how do i fix this?


is there a way to reconfig?

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...