How can I set client configuration for MySQL Workbench without an installed server?

前端 未结 2 1581
旧时难觅i
旧时难觅i 2021-01-29 04:57

Say I have installed MySQL workbench on windows 7 without a server, and I\'m connecting to a remote server.
How can I set client configuration (like the [client] section in

2条回答
  •  广开言路
    2021-01-29 05:50

    You asked this a long time ago, and so maybe this is no longer relevant to you, but I will include a way of doing this here to benefit others.

    In Workbench open your connection properties. On the Connection Tab, select the Advanced Tab. In there add the following two options to the Others section (obviously change the readDefaultFile location to the location of your my.ini).

    readDefaultFile=C:\Program Files\MySQL\MySQL Server 5.7\my.ini readDefaultGroup=client

    Now opening connections should read the client section from that my.ini as required.

提交回复
热议问题