Last active
August 29, 2015 14:06
-
-
Save kei2100/5c14f3163b1d85331e83 to your computer and use it in GitHub Desktop.
mysql yum install
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 install http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm | |
yum install mysql mysql-community-devel mysql-community-server | |
edit my.cnf | |
mysql_install_db | |
/etc/init.d/mysqld start | |
CREATE DATABASE mydb; | |
GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'%' IDENTIFIED BY 'mypass' WITH GRANT OPTION; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment