Last night when I went to bed, everything was working fine. Then when I go to view private messages on my site this morning I get this error :
Warning: mysql_query(): Unable to save result set in /home/scottttt/public_html/viewprivatemessages.php on line 100
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/scottttt/public_html/viewprivatemessages.php on line 102
I haven't changed anything in the database, and haven't changed any coding.
When I type the query into PHPMyAdmin, I get this error
#1030 - Got error 134 from table handler
Also, when I try to open a different table in PHPMyAdmin I get this error:
Error
SQL-query:
SHOW KEYS FROM `whorated` ;
MySQL said:
#1016 - Can't open file: 'whorated.MYI'. (errno: 145)
Something very strange going on...
Moderator: General Moderators
Code: Select all
weirdan@office:~$ perror 134
Error code 134: Unknown error: 134
134 = Record was already deleted (or record file crashed)
weirdan@office:~$ perror 145
Error code 145: Unknown error: 145
145 = Table was marked as crashed and should be repaired