mysql相关问题

1、 the security settings could not be applied
The security settings could not be applied to the database because the connection has failed with the following error.Error Nr. 1045
Access denied for ‘root’@’localhost’(using password:NO).
删除C:\ProgramData\MySQL这个目录解决问题的。
PS:本人系统Win7 64位,安装mysql-5.5.20-win32。

2、mysql 日志文件存放地址
show global variables like '%log%';
本人电脑mysql日志文件地址为:C:\ProgramData\MySQL\MySQL Server 5.5\data,文件名为hostname.err;
链接地址:http://pangge.blog.51cto.com/6013757/1319304

你可能感兴趣的:(mysql相关问题)