Home > Database > Mysql Tutorial > mysql5.6 windows下配置mysql_config_editor.exe遇到的问题?

mysql5.6 windows下配置mysql_config_editor.exe遇到的问题?

WBOY
Release: 2016-06-06 09:35:30
Original
1177 people have browsed it

mysql

为了本地登录时命令行不用输密码进行如下配置:

mysql_config_editor.exe set --login-path=client --host=localhost --user=arm --password
输入密码:arm@123

set MYSQL_TEST_LOGIN_FILE=%APPDATA%\MySQL
上面这部不设置下面无法连接

mysql --login-path=client
登录成功,但查询用户
select user() 结果为ODBC@localhost 为什么???

当前环境变量下mysql_config_editor无法新建或显示,提示配置找不到,必须将MYSQL_TEST_LOGIN_FILE具体到文件或置空才行,但如此一改,登录时又提示需密码。
有配置过的朋友请指教

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template