Mysql

FreeBSD:mariadb55 衝突 mysql55

  • October 25, 2014

我正在嘗試percona-toolkit在我的系統上安裝為包/埠:

[root@alexus ~]# uname -a
FreeBSD alexus.org 9.2-RELEASE-p5 FreeBSD 9.2-RELEASE-p5 #0 r265974: Wed May 14 07:57:04 PDT 2014     root@jj3.myibay.com:/usr/obj/usr/src/sys/R610  amd64
[root@alexus ~]# pkg install percona-toolkit
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
Checking integrity... done (1 conflicting)
Checking integrity... done (0 conflicting)
The following 7 packages will be affected (of 0 checked):

Installed packages to be REMOVED:
   mariadb55-client-5.5.39
   mariadb55-server-5.5.39

New packages to be INSTALLED:
   percona-toolkit: 2.2.11
   p5-Term-ReadKey: 2.32
   p5-DBI: 1.631
   p5-DBD-mysql: 4.028
   mysql55-client: 5.5.40

The operation will free 100 MB.

Proceed with this action? [y/N]: n
[root@alexus ~]# cd /usr/ports/databases/percona-toolkit/ && make config
===> No options to configure
[root@alexus /usr/ports/databases/percona-toolkit]# 

希望刪除和/或替換我現有的和mariadb55-client/或.mariadb55-server``mysql55-client

我該怎麼辦?

看起來像是p5-DBD-mysql“錯誤”的那個:

[root@alexus /usr/ports/databases/percona-toolkit]# pkg install p5-DBD-mysql
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
Checking integrity... done (1 conflicting)
Checking integrity... done (0 conflicting)
The following 4 packages will be affected (of 0 checked):

Installed packages to be REMOVED:
   mariadb55-client-5.5.39
   mariadb55-server-5.5.39

New packages to be INSTALLED:
   p5-DBD-mysql: 4.028
   mysql55-client: 5.5.40

The operation will free 107 MB.

Proceed with this action? [y/N]: n
[root@alexus /usr/ports/databases/percona-toolkit]# 

但是我仍然可以使用以下方法安裝它:

[root@alexus /usr/ports/databases/percona-toolkit]# make -C WITH_MYSQL_VER=55m install
...
...
...
===>  Installing for percona-toolkit-2.2.11
===>  Checking if percona-toolkit already installed
===>   Registering installation for percona-toolkit-2.2.11
[root@alexus /usr/ports/databases/percona-toolkit]# echo "WITH_MYSQL_VER=55m" >> /etc/make.conf 
[root@alexus /usr/ports/databases/percona-toolkit]# 

引用自:https://serverfault.com/questions/639628