2

yesterday i got bad getway error while browsing my vb forum

and today my forum back to work ... but most of links give this error

MySQL Error   : Can't create/write to file '/var/mysqltmp/#sql_1fbd_0.MYI' (Errcode: 13)

i search for simillar problem and got that this is premission problem

using FTP account i didnt found this directory "var/mysqltmp" so i made it and set premission to 777

but problem not solved

i read that this must fixed using Shell SSH ... but i didnt found a good explain about hoe to use shell SSH , because im Win Xp user :(

does this problem can be solved from FTP or Cpanel ? or its a server problem ?

thanks for help in advance

4

3 に答える 3

2

/tmp の権限が間違っているようです。それらは、スティッキービットが設定されているすべての人に対して読み取り/書き込み/実行する必要があります。

chmod 1777 /tmp

スティッキー ビットは、他のユーザーが作成または所有していないファイルと対話する方法にいくつかの制限を追加するため、心配する必要はありません。

必要に応じて、mysql ユーザーが所有し、書き込み可能な別のディレクトリを作成し、my.cnf でそのディレクトリを指定して、システム全体の /tmp の代わりに使用することもできます。

于 2015-03-09T09:29:08.330 に答える
0

ただ使う

REPAIR TABLE tablename

ドキュメントhttp://dev.mysql.com/doc/refman/5.1/en/repair-table.html

もちろん、破損しているテーブルを見つける必要があります。

ほとんどの場合、そのサーバーの問題 (ディスク エラー)

于 2011-11-13T19:26:48.650 に答える