Upgrade MySQL from ports (in FreeBSD)

So next time i’ll not forget!
1) STOP MySQL service

/usr/local/etc/rc.d/mysql-server stop

2) Upgrade with pkg_add, portupgrade, manually, ecc.

3) Start MySQL service

/usr/local/etc/rc.d/mysql-server start

4) And remember to run

mysql_upgrade -u root -p

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.