找不到配置文件'' [英] Configuration file '' can not be found
问题描述
我正在使用mysql-server 5.5并创建了一个服务器实例.创建完成后,我尝试打开实例编辑器并在CONFIGURATION
中选择Options File
,但显示
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
in CONFIGURATION
but it says
找不到配置文件".新文件将在上创建 应用更改
Configuration file '' can not be found. New file will be created on apply of changes
然后
配置文件不包含[]节,因此添加了一个新文件. 如果不正确,请在服务器中更正部分名称 实例编辑器,然后重新打开管理员.
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.
但是我检查了一下,发现在/etc/mysql/my.cnf
处有一个my.cnf
.
But I have checked and see that I have a my.cnf
at /etc/mysql/my.cnf
.
这会导致我无法从Eclipse连接到数据库的问题.
This cause the problem I can't connect to my database from Eclipse.
所以问题是如何在mysql服务器上解决此问题,或者有没有办法为服务器实例设置配置文件?
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:我正在使用Ubuntu 12.04
P/s: I'm using Ubuntu 12.04
更新
MySQL Workbench 5.2.38 和推荐答案
假定MySQL Workbench,为MySQL连接定义MySQL配置文件的路径.为此: Assuming MySQL Workbench, define the path to your MySQL configuration file for your MySQL connection. To do this: 现在,打开该MySQL连接将使用新配置的配置文件". Now, opening that MySQL connection will use the newly configured "Configuration File". 这篇关于找不到配置文件''的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!