Upgrading mysql from 5.5 to 5.6 Tipărire

  • 0

Language English

Make sure you have made backups

 

  1. Stop MySQL: service mysql-server stop
  2. Add to /etc/rc.conf:
    Code:
    mysql_args="--explicit_defaults_for_timestamp=true --skip-grant-tables --skip-slave-start --thread_stack=256K"
    These are needed, it prevents the slave process from starting, skips grant tables (so you always have access), the thread stack seems to be required, I ran out of it a couple of times
  3. Remove MySQL 5.5 server: pkg delete mysql55-server
  4. Install MySQL 5.6: pkg install mysql56-server
  5. Start it: service mysql-server start
    Note, this starts MySQL with the arguments we added above.
  6. Run the upgrade script: mysql_upgrade
  7. Stop MySQL server: service mysql-server stop
  8. Remove the mysql_args line from /etc/rc.conf
  9. Start MySQL server service mysql-server start
  10. 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


Răspunsul a fost util?

« înapoi

Powered by WHMCompleteSolution

xServere.NET în Cifre: Încredere, Stabilitate și Performanță

0
Clienți Activi
0
Servere Livrate
0%
Uptime Garantat
0
Domenii Administrate

Te muti la noi?

Migrarea catre un nou furnizor de hosting poate fi un proces complicat.
Relaxeaza-te si lasa expertii nostri sa se ocupe de tot! Vom muta site-ul tau in maxim 48 de ore.
Serviciu inclus GRATUIT la achizitionarea oricarui pachet de gazduire.

Solicită Migrare Gratuită