短い話ですが、EasyPHPのPHPMyAdminからrootユーザーを削除しました。いくつかの調査の後、データベースアクセスを回復するためにskip-grant-tablesを使用しました。しかし、今ではrootユーザーが '特権なし'を持っているので、何もできません。phpMyAdminが「特権なし」と報告しました
これは、「root」としてログインすると、SQLを使用してデータベースを作成できることを示しています。
私は次のことを試みたが、同様のき:
GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost';
FLUSH PRIVILEGES;
それでも、私は何もすることはできません。さらに、私はこのメッセージを持っています:
リンクテーブルで作業するための追加機能が無効になっています。理由を知るにはここをクリックしてください。 (1件のフォーラム投稿が示唆されているように)
$cfg['Servers'][$i]['pmadb'] ... OK
$cfg['Servers'][$i]['relation'] ... not OK [ Documentation ]
General relation features: Disabled
$cfg['Servers'][$i]['table_info'] ... not OK [ Documentation ]
Display Features: Disabled
$cfg['Servers'][$i]['table_coords'] ... not OK [ Documentation ]
$cfg['Servers'][$i]['pdf_pages'] ... not OK [ Documentation ]
Creation of PDFs: Disabled
$cfg['Servers'][$i]['column_info'] ... not OK [ Documentation ]
Displaying Column Comments: Disabled
Browser transformation: Disabled
$cfg['Servers'][$i]['bookmarktable'] ... not OK [ Documentation ]
Bookmarked SQL query: Disabled
$cfg['Servers'][$i]['history'] ... not OK [ Documentation ]
SQL history: Disabled
$cfg['Servers'][$i]['designer_coords'] ... not OK [ Documentation ]
Designer: Disabled
$cfg['Servers'][$i]['tracking'] ... not OK [ Documentation ]
Tracking: Disabled
再インストールEasyPHPは、問題が解決しないと、何もVirtualStoreに存在しない:
を示してクリックします。私が探しているはずの特定のMySQLファイルがありますか?
アイデア?これは本当に私のアプリケーション開発を止めました。
ありがとうございました。
グラントテーブルを正しく設定する必要があるようです。もしあなたが私に好意と 'SELECT * FROM mysql.user WHERE user = 'root''(もちろん--skip-grant-tablesをつけて)それを与えるものを貼り付けることができれば助けになるかもしれません。 – cHao
root @ localhostにはすべてYの – Peter
があります。接続時に 'localhost'に接続していますか? (MySQLは時には鈍っているかもしれません;あなたのIPアドレスに接続すると、あなたがローカルホストではなくあなたのIPから来ているのが気に入っています) – cHao