简体   繁体   English

如何在Ubuntu 14.04上升级mysql-utilities

[英]How to upgrade mysql-utilities on Ubuntu 14.04

I'd like to use mysqldbcopy but receive a constraint error due to 1.3 mixing foreign keys together during the copying process. 我想使用mysqldbcopy,但由于在复制过程中将1.3混合外键而收到约束错误。 Exactly what this person described: mysqldbcopy combining foreign key constraints? 此人正是这样描述的: mysqldbcopy结合了外键约束?

Apparently this issue was fixed in later versions. 显然,此问题在更高版本中已得到解决。 Current is 1.6 I believe. 我相信目前是1.6。

I'm running Ubuntu 14.04 and MySql 5.6 on my local and live server. 我在本地和实时服务器上运行Ubuntu 14.04和MySql 5.6。 On my local server, I tried following various ideas on the MySql web site but it simply broke things. 在我的本地服务器上,我尝试遵循MySql网站上的各种想法,但是这简直是破坏了事情。 Can someone outline a method for doing this? 有人可以概述这样做的方法吗?

I figured out the issue I was having. 我发现了我遇到的问题。 First, I had to remove installed packages: 首先,我必须删除已安装的软件包:

sudo apt-get remove python-mysql.connector mysql-utilities

Then download and install the packages I needed: 然后下载并安装我需要的软件包:

sudo dpkg -i mysql-connector-python_2.0.4-1ubuntu14.10_all.deb
sudo dpkg -i mysql-utilities_1.5.5-1ubuntu15.04_all.deb

for 1.6 versions do the following 对于1.6版本,请执行以下操作

sudo apt-get remove python-mysql.connector mysql-utilities

wget http://ftp.iij.ad.jp/pub/db/mysql/Downloads/Connector-Python/mysql-connector-python-py3_2.0.4-1ubuntu14.04_all.deb`

sudo dpkg -i mysql-connector-python_2.0.4-1ubuntu14.10_all.deb

wget https://cdn.mysql.com//Downloads/MySQLGUITools/mysql-utilities_1.6.5-1ubuntu14.04_all.deb

sudo dpkg -i mysql-utilities_1.6.5-1ubuntu14.04_all.deb

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM