mysql - 是否可以在同一台机器上使用 mysql5.5 和 mariaDB 10.0?

标签 mysql mariadb apt-get

我想在服务器上安装 mariaDB 10.0。但它已经安装了mysql5.5。 所以我尝试安装 mariaDB 以使用 apt-get 命令。

Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gir1.2-ubuntuoneui-3.0 libubuntuoneui-3.0-1 thunderbird-globalmenu
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libaio1 libmariadbclient18 libmysqlclient18 mariadb-client-10.0
  mariadb-client-core-10.0 mariadb-common mariadb-server-core-10.0
  mysql-common
Suggested packages:
  tinyca mailx mariadb-test
The following packages will be REMOVED:
  libmysqlclient-dev libmysqlclient18:i386 libqt4-sql-mysql:i386
  mysql-client-5.5 mysql-client-core-5.5 mysql-server mysql-server-5.5
  mysql-server-core-5.5
The following NEW packages will be installed:
  libaio1 libmariadbclient18 mariadb-client-10.0 mariadb-client-core-10.0
  mariadb-common mariadb-server-10.0 mariadb-server-core-10.0
The following packages will be upgraded:
  libmysqlclient18 mysql-common
2 upgraded, 7 newly installed, 8 to remove and 532 not upgraded.
Need to get 36.2 MB/37.1 MB of archives.
After this operation, 25.1 MB of additional disk space will be used.
Do you want to continue [Y/n]?

我不知道为什么 mysql 包会被删除。

不可能吗?

最佳答案

您可以在 mariadb 网站上找到安装 mariadb 和 mysql 的所有步骤: https://mariadb.com/kb/en/mariadb/installing-mariadb-alongside-mysql/

关于mysql - 是否可以在同一台机器上使用 mysql5.5 和 mariaDB 10.0?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32322369/

相关文章:

php - mysql数据库和php的用户权限

mysql - SQL MariaDB 统计每种类型查询 3 个表

mysql - 按日期对表中的值求和

ubuntu - Apt-Get Install 安装上的 Jenkins 用户

git - 设置FORCE=yes后安装openstack时出错

linux - 在没有 apt-get 或 yum 的情况下安装 git 或更新 git

mysql - Node.js MySQL - 错误 : connect ECONNREFUSED

Android + SQLite + 查询

mysql - SQL 查询花费的时间太长

mysql - 在 Fedora 27/28 上启动 MariaDb/MySQL 的问题