Configuration file '' can not be found
Solution 1
Assuming MySQL Workbench, define the path to your MySQL configuration file for your MySQL connection. To do this:
- Open Workbench to the Home page
- Right-click on the appropriate MySQL connection tile, choose "Edit Connection"
- Choose the "System Profile" tab
- Set "Configuration File" which for you should be /etc/mysql/my.cnf
- For good measure, click "Test Connection"
Now, opening that MySQL connection will use the newly configured "Configuration File".
Solution 2
I changed my setting from Custom to MacOSx (MySql Package) under:
Database
>Manage Connections
>MySql Connections
>Select DB Connection
>System Profile
>Installation Type
>(default setting) MySql Package
gamo
Updated on June 04, 2022Comments
-
gamo almost 2 years
I'm using mysql-server 5.5 and had created a server instance. After created I try to open the instance editor and select
Options File
inCONFIGURATION
but it saysConfiguration file '' can not be found. New file will be created on apply of changes
and then
Configuration file did not contain section [], so a new one was added. If that is not correct, please fix the section name in the Server Instance Editor and reopen the administrator.
But I have checked and see that I have a
my.cnf
at/etc/mysql/my.cnf
.This cause the problem I can't connect to my database from Eclipse.
So the question is how can I solve this on mysql-server or is there a way to set configuration file for server instance?
P/s: I'm using Ubuntu 12.04
UPDATE
-
gamo almost 9 yearsThanks for your answer but I couldn't see what you are mentioned about. I'm not sure we are talking about same version of MySQL Workbench. Please see my update.
-
Admin almost 6 yearsSolved it for me. Thank you.
-
Ben Racicot over 2 yearsThis is the answer. I'm not sure how this issue exists within this software.