MySQLをクラウドに使用
実習
1.AWSアカウントの作成
2.AWSからパソコンを1台借りる
3.ubuntuのインストール
4.mysqlのインストール
安全解放
putty
1.AWSアカウントの作成



2.AWSからパソコンを1台借りる

3.ubuntuのインストール








4.mysqlのインストール
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install net-tools
ip addr
sudo apt install openssh-server -y
sudo systemctl status ssh
sudo apt-get install mysql-server -y
sudo mysql_secure_installation
sudo mysql -u root -p
SELECT Host,User,plugin,authentication_string FROM mysql.user;
CREATE USER 'lion'@'%' IDENTIFIED BY '1234';
create database study;
GRANT ALL PRIVILEGES ON *.* TO 'lion'@'%';
flush privileges;
sudo vi /etc/mysql/mysql.conf.d/mysqld.cnf
sudo /etc/init.d/mysql restart

sudo mysql -u lion -p
5.windowにバインドsudo ufw allow mysql
sudo systemctl start mysql
sudo systemctl enable mysql

putty





Reference
この問題について(MySQLをクラウドに使用), 我々は、より多くの情報をここで見つけました https://velog.io/@corone_hi/MySQL-클라우드로-MySQL-이용하기テキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol