Dockerから開いているMysqlサーバに接続
CLIをクリック
mysqlユーザー設定

mysql -u root -p
show databases;

mysqlユーザー設定
関連記事を参考にしました。
ユーザdb接続use mysql;
ユーザークエリーselect user, host from user;
ユーザーの作成create user {아이디}@{localhost or %} identified by {비밀번호};
%は外部アクセスを許可
ユーザーの削除drop user {아이디}
drop user {아이디}@localhost
権限grant all privileges on {스키마}.* to {username}@{ip};
grant select, insert on {스키마}.* to {username}@{ip};
ユーザー権限の確認show grants for {test}@'{localhost}';
docker-compose 1
Reference
この問題について(Dockerから開いているMysqlサーバに接続), 我々は、より多くの情報をここで見つけました
https://velog.io/@ruddms936/Docker에서-Open한-Mysql-Server-접속하기
テキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol
1
Reference
この問題について(Dockerから開いているMysqlサーバに接続), 我々は、より多くの情報をここで見つけました https://velog.io/@ruddms936/Docker에서-Open한-Mysql-Server-접속하기テキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol