Forums / Installing on a Linux/Unix Server / Can't find database

Can't find database

Locked
Results 1 to 2 of 2
This thread is locked. New replies are disabled.
28 Mar 2007, 21:24
#1
gretzlertech avatar

gretzlertech

New Zenner

Join Date:
Mar 2007
Posts:
36
Plugin Contributions:
0

Can't find database

I am receiving the following error:

1146 Table 'scrap16_store.configuration' doesn't exist
in:
[select configuration_key as cfgkey, configuration_value as cfgvalue from configuration]

Now I know the database exists, I put it there. So does that table, I checked. My configure.php file is configured correctly (path, username, password) and it works on my localhost but not online. Any idea as to why?
31 Mar 2007, 16:49
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Posts:
10,620
Plugin Contributions:
212

Re: Can't find database

Is it possible that the host your d/b is on is different from your web server? (In other words, that HTTP(S)_SERVER and DB_SERVER should be different?)

BTW, if you're running on localhost and on a remote site (certainly a good practice), be sure you have two sets of configure.php files so you don't break one environment when fixing the other. I just keep a subdirectory under includes and admin/includes for production configure.php files.

Good luck,
Scott