From: Miles B. <mil...@gm...> - 2005-12-30 06:15:11
|
On 12/29/05, Kevin <ke...@dr...> wrote: > Check to make sure the mysql module is loaded. In php.ini, you should > have a line like this: > > extension=3Dmysql.so > > If this exists already, try restarting your webserver. > > Are you using the apache module, or CGI version of php? The php.ini > file is in different locations for each. You may have the extension > loaded in one place but not the other. > > -Kevin. Thanks. That did the trick. Now I have a question on whether or not I backed up the right database files in case there was a problem with my server. The last backup I did was on Friday. If I got the right files I'd like to restore the database using them. The files I have are: -rw-r--r-- 1 mysql mysql 8660 2005-12-29 15:57 px_feeds.frm -rw-r--r-- 1 mysql mysql 9204 2005-12-29 15:57 px_feeds.MYD -rw-r--r-- 1 mysql mysql 2048 2005-12-29 15:57 px_feeds.MYI -rw-r--r-- 1 mysql mysql 8874 2005-12-29 15:57 px_items.frm -rw-r--r-- 1 mysql mysql 8722160 2005-12-29 15:57 px_items.MYD If those are the right files what is the best way to restore the database? -Miles |