구름IDE 에서 MySQL Workbench를 사용하고 싶어요
mysqld.cnf 설정
#bind-address = 127.0.0.1 주석해야함service mysql restartMySQL 계정에 권한 부여
$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \\g.
Your MySQL connection id is 4
Server version: 5.7.29-0ubuntu0.18.04.1 (Ubuntu)
Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.
mysql> GRANT ALL ON *.* TO root@'%' IDENTIFIED BY 'pass';
Query OK, 0 rows affected, 1 warning (0.00 sec)
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)MySQL 포트포워딩 설정

mysqlsh로 goormIDE 컨테이너 안에 있는 MySQL server 접속
마지막 업데이트
도움이 되었나요?