2016-04-29 33 views
1

我安装了mysql服务器5.7.12实用程序1.5.6使用mysql安装程序的Windows。我通过安装向导来配置mysql-server。然后,我尝试使用mysqlcloneserver实用程序克隆该服务器:无法克隆使用mysqlserverclone实用程序存在的mysql服务器

输出中此错误后运行该命令的命令:

WARNING: Using a password on the command line interface can be insecure. 
# WARNING: Root password for new instance has not been set. 
# Cloning the MySQL server running on localhost. 

The console has detected that the utility 'mysqlserverclone' ended with an error code. 
You can get more information about the error by running the console command 'show last error'. 

我运行命令:

show last error 

,并得到这个输出:

Execution of utility: 'mysqlserverclone --server=root:[email protected]:3306 --new-data=C:/Users/quyet/Documents/DBMS/fabric/store --mysqld=--server-id=2 --log-bin --log-slave-updates --gtid-mode=ON --enforce-gtid-consistency --new-port=13000 --delete-data' ended with return code '1' and with the following error message: 
Traceback (most recent call last): 
    File "G:\ade\build\sb_0-16486154-1442332453.92\Python-2.7.6-windows-x86-32bit\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27, in <module> 
    File "scripts\mysqlserverclone.py", line 211, in <module> 
    File ".\mysql\utilities\command\serverclone.py", line 180, in clone_server 
    File ".\mysql\utilities\common\tools.py", line 254, in get_mysqld_version 
IOError: [Errno 13] Permission denied: 'version_check' 

我在谷歌搜索,但发现任何类似的问题。 任何帮助将不胜感激!

回答

2

有点过时了,但可能有帮助。 以管理员身份运行Mysql Utils控制台