2015-09-01 43 views
1

我想在服務器上安裝mariaDB 10.0。但它已經安裝了mysql5.5。 所以我試圖安裝mariaDB使用apt-get命令。是否可以在同一臺機器上使用mysql5.5和mariaDB 10.0?

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包會被刪除。

是不可能的?

+2

這似乎是可能有MySQL和MariaDB的都運行在彼此旁邊,但安裝似乎要比更復雜只需使用'apt-get',qv [官方文檔](https://mariadb.com/kb/en/mariadb/installing-mariadb-alongside-mysql/),它給你一步一步的指示。 –

+0

謝謝。但是那個鏈接對我來說不起作用。我試圖啓動mariadb服務器。它沒有開始。我的提示打印 正在啓動MySQL 。 * 它剛剛完成。 :( – notear

回答

相關問題