Installing MySQL instance in EC2
1. Create an EC2 instance and Connect to your instance through SSH
2. After connecting to the instance use the following commands in order to install MySQL Server
sudo su
cd ../..
sudo apt-get update
sudo apt-get install mysql-server
sudo mysql
mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password by 'my-secret-password';
sudo mysql_secure_installation
3. Now again enter into MySQL session using the following commands and perform all the required tasks
Comments
Post a Comment