mysqldump unknown option no beep

前端 未结 9 1687
猫巷女王i
猫巷女王i 2020-12-05 23:45

I\'m running MySQL 5.5 on Windows, attempting a mysqldump:

 \"C:\\WebServer\\MySQL Server 5.5\\bin\\mysqldump.exe\" -u user -ppassword database > \"C:\\ba         


        
9条回答
  •  爱一瞬间的悲伤
    2020-12-06 00:14

    One note relating to this, you have to be aware of your various installed MySQL products. The following scenario best explains it.

    • C:\Program Files\MySQL\MySQL Server 5.5\my.ini (created from a previous installation)
    • C:\Program Files\MySQL\MySQL Server 5.6\my.ini (someone copied this here, who knows why)
    • C:\Program Files\MySQL\my.ini (created by MySQL Installer Config Wizard)

    So you might assume that the MySQL Workbench draws settings from the my.ini file inside of the MySQL version you're working against. This would be a safe assumption as part of setting up a configuration for administration in the Workbench requires pointing to the my.ini specific to that installation. However that is incorrect as I've found it latches onto the one located at C:\Program Files\MySQL\my.ini as the one to use. You thus have to edit this file to get the Workbench to function correctly.

提交回复
热议问题