EXERCISE 7(a) : INSTALLING MYSQL IN AWS

To install mySql in AWS: 

1. Assume that you have created an EC2 instance.

2. Select  the ec2 instance you have created and click the connect button.

3. Execute the following command to go to the root.


4. Execute the following command to install mysql server.


5. Execute the following command for secure installation.



6. Hit enter for root password.

    Enter the password. And click y.


7. Enter y to reload privileges tables to shown below.

     Execute the following command to login to the database and enter the password.


8.  Execute the following command to see the databases available.




9. To create database, execute the following command.




10. To create user, execute the following command. And use this command to grant all privileges. To save all the changes, use the following command. And use the quit command to come out of database.





Comments

Popular posts from this blog

Application-Load balancer

virtual to virtual migration

My First Virtual Machine