- Login to AWS console
- Start a machine with AMI:- ami-2547a34c
- Make sure required ports are open in the security group that you used
- MYSQL:-3306
- SSH:- 22
- After the server is up, login to the server using ssh
- Install the mysql server :-
yum -y install mysql mysql-devel mysql-server
- start the server:-
/etc/init.d/mysqld start
- By default, mysql doesn;'t provide any password for root. This is dangerous, so first thing you do is set a password:-
mysqladmin -u root password
- By default root has permissions to only login from localhost. So, give permission to root to login from anywhere:-
mysql -u root -p
grant all on *.* to root@'%'
Friday, July 31, 2009
Creating a Fedora machine with MYSQL on Amazon
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment