Mysql 5.6: Difference between revisions
Jump to navigation
Jump to search
(Created page with " cd /usr/src wget http://www.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.10-debian6.0-x86_64.deb/from/http://cdn.mysql.com/ -O mysql-5.6.10-debian6.0-x86_64.deb dpkg -i mysq...") |
No edit summary |
||
Line 8: | Line 8: | ||
chown -R mysql /opt/mysql/server-5.6/ | chown -R mysql /opt/mysql/server-5.6/ | ||
chgrp -R mysql /opt/mysql/server-5.6/ | chgrp -R mysql /opt/mysql/server-5.6/ | ||
upgrade mysql | |||
/opt/mysql/server-5.6/scripts/mysql_install_db --user=mysql --datadir=/var/lib/mysql | |||
rm /opt/mysql/server-5.6/my.cnf | |||
vi /etc/my.cnf | vi /etc/my.cnf |
Revision as of 08:57, 7 March 2013
cd /usr/src wget http://www.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.10-debian6.0-x86_64.deb/from/http://cdn.mysql.com/ -O mysql-5.6.10-debian6.0-x86_64.deb dpkg -i mysql-5.6.10-debian6.0-x86_64.deb rm mysql-5.6.10-debian6.0-x86_64.deb mv /etc/mysql/my.cnf /etc/my.cnf cp /opt/mysql/server-5.6/support-files/mysql.server /etc/init.d/mysql.server && update-rc.d mysql.server defaults apt-get install libaio1 chown -R mysql /opt/mysql/server-5.6/ chgrp -R mysql /opt/mysql/server-5.6/
upgrade mysql
/opt/mysql/server-5.6/scripts/mysql_install_db --user=mysql --datadir=/var/lib/mysql rm /opt/mysql/server-5.6/my.cnf
vi /etc/my.cnf basedir = /opt/mysql/server-5.6 lc-messages-dir = /opt/mysql/server-5.6/share remove language = …