我使用的是Ubuntu 24.04.2 LTS (noble),想在同一台机器上启动MariaDBmariadb-multi
服务器的第二个实例。我想我会使用它。
我们的第一个数据库实例运行良好,我相信所有需要的都已安装。
apt list --installed | grep mariadb
返回:
libmariadb3/noble-updates,noble-security,now 1:10.11.8-0ubuntu0.24.04.1 amd64 [installed,automatic]
mariadb-client-core/noble-updates,noble-security,now 1:10.11.8-0ubuntu0.24.04.1 amd64 [installed,automatic]
mariadb-client/noble-updates,noble-security,now 1:10.11.8-0ubuntu0.24.04.1 amd64 [installed,automatic]
mariadb-common/noble-updates,noble-security,now 1:10.11.8-0ubuntu0.24.04.1 all [installed,automatic]
mariadb-plugin-provider-bzip2/noble-updates,noble-security,now 1:10.11.8-0ubuntu0.24.04.1 amd64 [installed,automatic]
mariadb-plugin-provider-lz4/noble-updates,noble-security,now 1:10.11.8-0ubuntu0.24.04.1 amd64 [installed,automatic]
mariadb-plugin-provider-lzma/noble-updates,noble-security,now 1:10.11.8-0ubuntu0.24.04.1 amd64 [installed,automatic]
mariadb-plugin-provider-lzo/noble-updates,noble-security,now 1:10.11.8-0ubuntu0.24.04.1 amd64 [installed,automatic]
mariadb-plugin-provider-snappy/noble-updates,noble-security,now 1:10.11.8-0ubuntu0.24.04.1 amd64 [installed,automatic]
mariadb-server-core/noble-updates,noble-security,now 1:10.11.8-0ubuntu0.24.04.1 amd64 [installed,automatic]
mariadb-server/noble-updates,noble-security,now 1:10.11.8-0ubuntu0.24.04.1 amd64 [installed]
但是,在尝试运行的时候mariadb-multi start 2
(我在conf文件中配置了相应的实例),出现以下错误:
Command 'mariadb-multi' not found, did you mean:
command 'mariadbd-multi' from deb mariadb-server (1:10.11.8-0ubuntu0.24.04.1)
Try: apt install <deb name>
我们是否遗漏了一些我不明白的东西?