Created
December 16, 2012 20:15
-
-
Save mnaser/4312349 to your computer and use it in GitHub Desktop.
This will install the Percona server, start it on system boot, start the service and set a root password and display it.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum -y install Percona-Server-shared-compat Percona-Server-server-55 expect | |
chkconfig mysql on | |
service mysql start | |
SQL_PW=$(mkpasswd -l 32) | |
mysqladmin password "$SQL_PW" | |
echo "Root MySQL Password: $SQL_PW" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment