なにやら色々制約が多くてなかなかエラーが消えません。
とりあえず覚え書き。

ログイン
#mysql -uroot -pパスワード

データベース選択
use データベース名;

全データベースの表示
show databases;

全テーブルの表示
show tables;

root権限を与える
grant all on *.* to ユーザー名@localhost identified by 'パスワード';
all の部分を select,insert,delete,update,create,drop,alter,indexなどに
かえることにより個別に設定可能