Skip to main content
deleted 37 characters in body
Source Link

All Tested Have fun.

  1. .apt-get install libaio1
  2. groupadd mysql
  3. useradd -r -g mysql mysql
  4. wget -O mysql-5.6.16-debian6.0-x86_64.deb
  5. http://downloads.mysql.com/archives/mysql-5.6/mysql-5.6.16-debian6.0-x86_64.deb
  6. dpkg -i mysql-5.6.16-debian6.0-x86_64.deb
  7. cd /usr/local
  8. ln -s /opt/mysql/server-5.6 mysql
  9. cd mysql
  10. scripts/mysql_install_db --user=mysql
  11. chown -R root .
  12. chown -R mysql data
  13. cp support-files/mysql.server /etc/init.d/mysql
  14. mkdir -p /etc/mysql/conf.d/
  15. cp my.cnf /etc/mysql/
  16. echo $'!include /etc/mysql/my.cnf\n!includedir /etc/mysql/conf.d/' > my.cnf
  17. update-rc.d mysql-5.7 defaults
  18. service mysql start
  19. ./bin/mysql_secure_installation

All Tested Have fun.

  1. .apt-get install libaio1
  2. groupadd mysql
  3. useradd -r -g mysql mysql
  4. wget -O mysql-5.6.16-debian6.0-x86_64.deb
  5. http://downloads.mysql.com/archives/mysql-5.6/mysql-5.6.16-debian6.0-x86_64.deb
  6. dpkg -i mysql-5.6.16-debian6.0-x86_64.deb
  7. cd /usr/local
  8. ln -s /opt/mysql/server-5.6 mysql
  9. cd mysql
  10. scripts/mysql_install_db --user=mysql
  11. chown -R root .
  12. chown -R mysql data
  13. cp support-files/mysql.server /etc/init.d/mysql
  14. mkdir -p /etc/mysql/conf.d/
  15. cp my.cnf /etc/mysql/
  16. echo $'!include /etc/mysql/my.cnf\n!includedir /etc/mysql/conf.d/' > my.cnf
  17. update-rc.d mysql-5.7 defaults
  18. service mysql start
  19. ./bin/mysql_secure_installation

All Tested Have fun.

  1. .apt-get install libaio1
  2. groupadd mysql
  3. useradd -r -g mysql mysql
  4. wget -O mysql-5.6.16-debian6.0-x86_64.deb
  5. http://downloads.mysql.com/archives/mysql-5.6/mysql-5.6.16-debian6.0-x86_64.deb
  6. dpkg -i mysql-5.6.16-debian6.0-x86_64.deb
  7. cd /usr/local
  8. ln -s /opt/mysql/server-5.6 mysql
  9. cd mysql
  10. scripts/mysql_install_db --user=mysql
  11. chown -R root .
  12. chown -R mysql data
  13. cp support-files/mysql.server /etc/init.d/mysql
  14. mkdir -p /etc/mysql/conf.d/
  15. cp my.cnf /etc/mysql/
  16. echo $'!include /etc/mysql/my.cnf\n!includedir /etc/mysql/conf.d/' > my.cnf
  17. service mysql start
  18. ./bin/mysql_secure_installation
Source Link

All Tested Have fun.

  1. .apt-get install libaio1
  2. groupadd mysql
  3. useradd -r -g mysql mysql
  4. wget -O mysql-5.6.16-debian6.0-x86_64.deb
  5. http://downloads.mysql.com/archives/mysql-5.6/mysql-5.6.16-debian6.0-x86_64.deb
  6. dpkg -i mysql-5.6.16-debian6.0-x86_64.deb
  7. cd /usr/local
  8. ln -s /opt/mysql/server-5.6 mysql
  9. cd mysql
  10. scripts/mysql_install_db --user=mysql
  11. chown -R root .
  12. chown -R mysql data
  13. cp support-files/mysql.server /etc/init.d/mysql
  14. mkdir -p /etc/mysql/conf.d/
  15. cp my.cnf /etc/mysql/
  16. echo $'!include /etc/mysql/my.cnf\n!includedir /etc/mysql/conf.d/' > my.cnf
  17. update-rc.d mysql-5.7 defaults
  18. service mysql start
  19. ./bin/mysql_secure_installation