0
pilotdave

database/mySQL experts?

Recommended Posts

Alright, it's off topic, but I know there must be some of you out there. I made a nice mySQL database of all the videos on my FTP server. The main table seems to have gone corrupt or something. It won't open. All the data's still in there - I can open the file with notepad and see it. But mySQL won't display the table and I can't query it through Access or a php web page. Anyone have any clue how I might be able to fix it?
Dave
http://www.skydivingmovies.com

Share this post


Link to post
Share on other sites
Running in mySQL 3.23.49 in windows 98, running in an dos prompt window...
mysql> select * from tbl1;
ERROR 1030: Got error 127 from table handler
When i try to access it through a php script, I get no data. In Access it gives me an ODBC error of some kind.
I tried to find error codes in the mySQL documentation but couldnt find em anywhere.
Dave
http://www.skydivingmovies.com

Share this post


Link to post
Share on other sites
After backing up the database (shit happens) try running the command "REPAIR TABLE tbl1". I would suggest using the mySQL command shell instead of PHP to run the query because you will probably get more verbose messages. If you don't know how to use it, either myself or one of the other geeks around here can walk you through it.
--
Brian

Share this post


Link to post
Share on other sites
You're my new hero! That fixed it. My own server will only be up for a few more days (till friday), but if anyone wants to do any searches for movies on the skydivingmovies.com ftp server, you can still do it at http://129.2.156.19/phptest/view_data.php. Perhaps we can get that running on AndyMan's server or somewhere else. THANKS!!!!
Dave
http://www.skydivingmovies.com

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

0