MySQLインストール直後はrootのパスワードが無しになっている為、これを変更する。
- ログイン
- パスワード変更
- ログアウト
- パスワード無しでログイン出来ないことを確認
- パスワードありでログイン出来ることを確認
$ mysql -u root mysql
> SET PASSWORD FOR root@localhost=PASSWORD('hoge');
> exit;
$ mysql -u root mysql
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
$ mysql -u root -phoge mysql
※)-pとhogeの間はブランク無し関連するかもしれない記事
- Eclipse ERMasterデータベース設計プラグイン
- Apache mod_rewriteをDSOで有効化
- tera termでSSH接続 -公開鍵暗号方式(RSA)
- linuxへのSubversionのインストール
- FreeBSD(さくらインターネット)へのNucleusCMSのインストール
他のブログも読む



0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.