升级MariaDB

By admin, 14 八月, 2020
  1. 下载二进制包:​https://mariadb.org/download/
  2. 直接解压到目标目录/usr/local/mariadb-10.5.5,参考:​https://mariadb.com/kb/en/installing-mariadb-binary-tarballs/
  3. 卸载旧的mariadb:apt remove mariadb-server-core,参考:​https://mariadb.com/kb/en/upgrading-from-mariadb-101-to-mariadb-102/
  4. 启动新服务:/usr/local/mariadb-10.5.5/bin/mysqld_safe --user=mysql &
  5. 升级旧数据库:/usr/local/mariadb-10.5.5/bin/mariadb-upgrade -p

 

关闭数据库服务:

mysqladmin -u root -p shutdown

标签

评论

Restricted HTML

  • 允许的HTML标签:<a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <img src>
  • 自动断行和分段。
  • 网页和电子邮件地址自动转换为链接。
验证码
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
请输入"Drupal10"

最新评论