Advertisement
Guest User

Untitled

a guest
Sep 28th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. shell> groupadd mysql
  2. shell> useradd -r -g mysql -s /bin/false mysql
  3. shell> cd /usr/local
  4. shell> tar zxvf /home/linux/Desktop/mysql-VERSION-OS.tar.gz
  5. shell> ln -s mysql-5.5.51-linux2.6-x86_64 mysql
  6. shell> cd mysql
  7. shell> chown -R mysql .
  8. shell> chgrp -R mysql .
  9. shell> scripts/mysql_install_db --user=mysql
  10. shell> chown -R root .
  11. shell> chown -R mysql data
  12. shell> bin/mysqld_safe --user=mysql
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement