MySQL 改 MariaDB
發表於 : 2014年 2月 26日, 21:09
一堆程式使用期限到期,花了兩天終於更新完畢:
MySQL 被甲骨文吃了,隨著 MediaWiki, Google 的腳步,改用 MariaDB。
分享一下我在 FreeBSD 成功的由 MySQL 轉換成 MariaDB 的經驗。
步驟:
解除 MySQL
安裝 MariaDB
重啟
更新
其實...就和平常更新版本一樣,完全沒有感覺有什麼不一樣,而且系統完全相容。
另外,依據 MariaDB 官網的說明:MySQL 5.6 對應的版本是 MariaDB 10.0 Series。
- FreeBSD 8.3 --> 8.4
- PERL 5.12 --> 5.16
- MySQL 5.5 --> MariaDB 5.5
MySQL 被甲骨文吃了,隨著 MediaWiki, Google 的腳步,改用 MariaDB。
分享一下我在 FreeBSD 成功的由 MySQL 轉換成 MariaDB 的經驗。
步驟:
解除 MySQL
代碼: 選擇全部
cd /usr/ports/databases/mysql55-server ; make deinstall
cd /usr/ports/databases/mysql55-client ; make deinstall
代碼: 選擇全部
cd /usr/ports/databases/mariadb55-server ; make install clean
代碼: 選擇全部
/usr/local/etc/rc.d/mysql-server start
代碼: 選擇全部
mysql_upgrade -u root -p
另外,依據 MariaDB 官網的說明:MySQL 5.6 對應的版本是 MariaDB 10.0 Series。