Language English
Make sure you have made backups
- Stop MySQL:
service mysql-server stop
- Add to /etc/rc.conf:
Code:mysql_args="--explicit_defaults_for_timestamp=true --skip-grant-tables --skip-slave-start --thread_stack=256K"
- Remove MySQL 5.5 server:
pkg delete mysql55-server
- Install MySQL 5.6:
pkg install mysql56-server
- Start it:
service mysql-server start
Note, this starts MySQL with the arguments we added above. - Run the upgrade script:
mysql_upgrade
- Stop MySQL server:
service mysql-server stop
- Remove the mysql_args line from /etc/rc.conf
- Start MySQL server
service mysql-server start
- Done
Language Română
Asigurați-vă că ați făcut copii de rezervă
pkg info -r mysql55-client
pkg delete -f VERSIUENATAMYSQL
pkg install -f mysql56-server
make install clear