简体   繁体   English

未创建mysql DB的备份

[英]Backup of mysql DB not being created

i want to write mysql DB on CD. 我想在CD上写mysql DB。 I've followed the steps of creating backup. 我已按照创建备份的步骤进行操作。 i've created server instance in server administration. 我已经在服务器管理中创建了服务器实例。 now when i double click it to open it, it gives an error "Error starting Workbench Administrator; Exception: Current profile has no WMI enabled ". 现在,当我双击它以将其打开时,它给出一个错误“启动Workbench Administrator时出错; Exception: Current profile has no WMI enabled ”。

i went to administrative tools. 我去了行政工具。 enabled wmi for all users in Root Security. 为Root Security中的所有用户启用了wmi。 but its still giving the same error. 但它仍然给出相同的错误。 What to do? 该怎么办?

This error Exception: Current profile has no WMI enabled is occurred due to newly created server is not updated in server instances . 此错误Exception: Current profile has no WMI enabled由于未在server instances更新新创建的服务器,因此Exception: Current profile has no WMI enabled

If you got below error when click on Manage Import / Export option 如果单击Manage Import / Export选项时遇到以下错误

manageserverinstances 0

Follow the steps 按照步骤

Step 1: Click on Manage Server Instaces 步骤1:单击Manage Server Instaces

manageserverinstances 1

Step 2: Click on Manage Connections button, Manage DB Connections window will be opens. 第2步:单击“管理连接”按钮,将打开“ Manage DB Connections窗口。

manageserverinstances 2

Step 3: Select instance and click on Store in Vault button, Store Password For Connection window will be opens. 步骤3:选择instance ,然后单击“ Store in Vault按钮,将打开“ Store Password For Connection窗口。

manageserverinstances 3

Step 4: Enter Password then click on OK button. 步骤4:输入Password然后单击OK按钮。

manageserverinstances 4

Step 5: Click on Test Connection button for check database is connected with mysql or not, Connected to Mysql at 127.0.0.1:3306 with user root window will be opens. 第5步:单击“ Test Connection按钮以检查数据库是否与mysql Connected to Mysql at 127.0.0.1:3306 with user root将打开“ Connected to Mysql at 127.0.0.1:3306 with user root窗口Connected to Mysql at 127.0.0.1:3306 with user root

管理服务器实例5

Step 6: Click on OK button then Close button . 第6步:单击OK按钮,然后单击Close button

Step 7: Click on Close button to close Manage Server Instances window. 步骤7:单击Close按钮以关闭Manage Server Instances窗口。

管理服务器实例6

Step 8: Click on Manage Import / Export . 第8步:点击Manage Import / Export

管理服务器实例7

Step 9: Finally Import and Export browser will be opens. 步骤9:最后,将打开“导入和导出”浏览器。

管理服务器实例8

I was getting the WMI exception you mention trying to make a new server instance under the "Server Administration" of mysql's "Workbench Central". 您遇到的WMI异常是我提到的,它试图在mysql的“ Workbench Central”的“服务器管理”下创建一个新的服务器实例。 I had been trying "Take Parameters from Existing Database Connection" and choosing my local DB when I got the exception. 我一直在尝试“从现有数据库连接中获取参数”,并在遇到异常时选择本地数据库。

In that first "Specify the Host Machine the Database Server is running on" screen, I needed to choose the first option, "localhost". 在第一个“指定正在运行数据库服务器的主机”屏幕中,我需要选择第一个选项“ localhost”。

在此处输入图片说明

This let me create a connection to my local server through which I could import data that I had exported from another database. 这使我可以创建到本地服务器的连接,通过该连接可以导入从另一个数据库导出的数据。 The export was made into a flat .sql file. 导出被制成一个平面的.sql文件。

You might try simply exporting to a .sql file and then putting that file on a CD. 您可以尝试简单地导出到.sql文件,然后将该文件放入CD。

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

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