Tuesday, December 3, 2013

Boot Strap : MySQL

Here is a user data boot strap script for installing and starting Oracle MySQL:

#!/bin/sh 
yum -y install mysql-server 
/etc/init.d/mysqld start 
echo -e '\n\nsudo /etc/init.d/mysqld start' >> /etc/rc.d/rc.local

No comments:

Post a Comment