2016-04-29 31 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控制檯