私はMySQLをDockerコンテナにインストールしていますが、ログインしようとしています。MySQL(Dockerコンテナ内)にログインできません
パスワードをコピーして貼り付けるのに慎重です。
私はどこかの隠れたキャラクターを恐れているものすべてを再入力しました。
mysql> use mysql;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> grant all privileges on db_thalasoft.* to [email protected]'%' identified by 'XXX';
Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)
mysql> quit;
Bye
[email protected]:/usr/bin/mysql/install# bin/mysql -u thalasoft -p
Enter password:
ERROR 1045 (28000): Access denied for user 'thalasoft'@'localhost' (using password: YES)
バージョンは、mysql-5.6.30.tar.gz
アーカイブの自己構築型です。
コンテナの起動に使用したコマンドは何ですか? – gview