【发布时间】:2023-08-21 18:00:01
【问题描述】:
我想在服务器上安装 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 包会被删除。
不可能吗?
【问题讨论】:
-
似乎可以让 MySQL 和 MariaDB 同时运行,但安装似乎比简单地使用
apt-get复杂得多,q.v. the official documentation,为您提供分步说明。 -
谢谢。但该链接对我不起作用。我试图启动 mariadb 服务器。它没有开始。我的提示打印正在启动 MySQL。 * 它刚刚完成。 :(