Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shell> groupadd mysql
- shell> useradd -r -g mysql -s /bin/false mysql
- shell> cd /usr/local
- shell> tar zxvf /home/linux/Desktop/mysql-VERSION-OS.tar.gz
- shell> ln -s mysql-5.5.51-linux2.6-x86_64 mysql
- shell> cd mysql
- shell> chown -R mysql .
- shell> chgrp -R mysql .
- shell> scripts/mysql_install_db --user=mysql
- shell> chown -R root .
- shell> chown -R mysql data
- shell> bin/mysqld_safe --user=mysql
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement