Site icon Knowledge Base| Kiến thức Dịch vụ P.A Việt Nam

Nâng cấp MySQL/MariaDB với custombuild 2.0 trên DirectAdmin

Đối với MySQL

cd /usr/local/directadmin/custombuild
./build set mysql 5.6
./build set mysql_inst mysql
./build set mysql_backup yes
./build update
./build mysql

Where mysql can be 5.1, 5.5, 5.6, 5.7 or 8.0.

A full raw sql backup will be run prior to the upgrade if you have mysql_backup=yes set.  It goes without saying, always make backups, either with this tool, or with other means.

Đối với MariaDB

cd /usr/local/directadmin/custombuild
./build set mariadb 10.0
./build set mysql_inst mariadb
./build set mysql_backup yes
./build update
./build mariadb

Where mariadb can be 5.5, 10.0, 10.1, 10.2, 10.3, or 10.4

A full raw sql backup will be run prior to the upgrade if you have mysql_backup=yes set.  It goes without saying, always make backups, either with this tool, or with other means.

4.6 / 5 ( 198 bình chọn )
Exit mobile version