創(chuàng)新互聯(lián)建站專(zhuān)注于企業(yè)全網(wǎng)整合營(yíng)銷(xiāo)推廣、網(wǎng)站重做改版、延長(zhǎng)網(wǎng)站定制設(shè)計(jì)、自適應(yīng)品牌網(wǎng)站建設(shè)、H5開(kāi)發(fā)、商城網(wǎng)站制作、集團(tuán)公司官網(wǎng)建設(shè)、外貿(mào)營(yíng)銷(xiāo)網(wǎng)站建設(shè)、高端網(wǎng)站制作、響應(yīng)式網(wǎng)頁(yè)設(shè)計(jì)等建站業(yè)務(wù),價(jià)格優(yōu)惠性?xún)r(jià)比高,為延長(zhǎng)等各大城市提供網(wǎng)站開(kāi)發(fā)制作服務(wù)。
MysqlWorkbench7.0之后的版本使用export data時(shí)會(huì)遇到這個(gè)錯(cuò)誤12
Running: /Applications/MySQLWorkbench.app/Contents/MacOS/mysqldump --defaults-file ="/var/folders/xl/s140j_d96n5djybp3rvh3nt80000gp/T/tmpn6fxeU/extraparams.cnf" --set-gtid-purged=OFF --delayed-insert=FALSE --host=121.40.157.75 --protocol=tcp --user=root --port=3306 --default-character-set=utf8 --skip-triggers "matchbox_test"mysqldump: [ERROR] unknown variable 'delayed-insert=FALSE'Operation failed with exitcode 713:19:01 Export of /Users/jason/Documents/Dump20151116.sql has finished with 1 errors123456789
我們看錯(cuò)誤報(bào)告顯示這個(gè)變量 'delayed-insert=FALSE' 不被識(shí)別,workbench默認(rèn)配置里會(huì)開(kāi)啟 這個(gè)變量并且默認(rèn)值是false。如果我們用不到這個(gè)變量可以更改配置文件,注釋掉這個(gè)變量來(lái)解決123
找到配置文件目錄:__InstallPath__/modules
打開(kāi)python格式的輸出配置文件:wb_admin_export_options.py
找到所在行:"delayed-insert":["Write INSERT DELAYED statements rather than ...
在行開(kāi)頭插入#
號(hào)注釋改行
保存文件,重啟Workbench
Workbench的安裝目錄 如:C:\Program Files\MySQL\MySQL Workbench 6.3 CE\modules12
Applications -> MYSQLWorkbench.app/Contents/Resources/plugins.Note: 在應(yīng)用上右擊選擇 Show Package contents 進(jìn)入應(yīng)用目錄12
/usr/lib/mysql-workbench/modules/wb_admin_export_options.py1