MySQL ODBC 3.51 Driver - Access Denied】的更多相关文章

MySQL ODBC 3.51 Driver - Access Denied   同事反馈在应用服务器上配置MySQL ODBC 3.51 Drive时,测试连接MySQL数据库时报下面错误: ERROR [HYT00] [MySQL][ODBC 3.51 Driver]Access denied for user: 'xxx@xxxx' (Using password: YES) 那么出现这个错误,其实分多种情况: 1:账号密码错误或账号不存在. 账号密码错误或不存在,就会报ERROR [HY…
在使用Mysql 的时候,需要使用ODBC数据源的方式来连接mysql,所以常常需要用到免安装的驱动,自己参考官网的脚本, 修改了一个实用点的脚本,放出来大家一起分享: 安装mysql odbc 5.1 Driver @ECHO OFF SET installdir=none IF EXIST %windir%/system/nul   SET installdir=%windir%/system IF EXIST %windir%/system32/nul SET installdir=%wi…
Mysql:ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) Linux: MySQL安装时默认的用户是root,这里的root是指数据库的用户,root密码一般在初始化MySQL时存放在你的日志文件中,日志文件的存放路径可以通过my.cnf文件进行自定义. 使用如下方法即可解决,已验证可行. #.停止mysql数据库 /etc/init.d/mysqld stop #.执行如下…
今天想用用MySQL 数据库  谁知道老提示 1045 access denied for user 'root'@'localhost' using password yes 最后在csdn 上找到了答案 解决: 1. 开始 --> cmd   --> net stop mysql  (停用MySQL服务  没启动的可以省略) 2. 找到安装路径 MySQL Server 5.1下的my.ini 3. 打开 my.ini  找到  [mysqld]  然后在下面加上 这句: skip_gra…
windows系统下mysql出现Error 1045(28000) Access Denied for user 'root'@'localhost' 转自 http://zxy5241.spaces.live.com/blog/cns!7682A3008CFA2BB0!361.entry 在windows操作系统安装MySQL数据库,碰到Error 1045(28000) Access Denied for user 'root'@'localhost' 错误时,需要重新设置密码.具体方法是…
错误信息:ERROR 1044: Access denied for user: '@localhost' to database 'mysql' linux下解决方案: mysql> use mysql ERROR 1044 (42000): Access denied for user 'root'@'localhost' to database 'mysql' mysql> exit Bye [root@testtest ~]# service mysqld stop如果该命令不能执行可…
去官网下载压缩版的MySQL Server,解压配置path环境变量后.然后克隆my-default.ini创建my.ini文件,在文件中[mysqld]下面配置basedir和datadir basedir=%MySQL_HOME% datadir=%MySQL_HOME%/data 注意:不要自己在mysql安装目录下面创建data文件夹 配置好后,用管理身份运行cmd, 输入cd %MySQL_HOME%/bin 转到mysql 的bin目录下, 输入mysqld -install ,会打…
收到美国那边同事carl的call说用户登录不上去了,不过2个礼拜前他还用的好好的,他给我发email了,他有急事需要处理麻烦我记尽快协助,他在email有截取错误信息: root@xxxxx:/home/nova# mysql -h xxxx.xx.xx-xx.xx.com-u omonroy -p Enterpassword: ERROR1045 (28000): Access denied for user 'omonroy'@'20.112.251.19' (using password…
System.Data.Entity.Core.ProviderIncompatibleException: An error occurred accessing the database. This usually means that the connection to the database failed. Check that the connection string is correct and that the appropriate DbContext constructor…
ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'mysql'. 原因是:mysql数据库的user表里,存在用户名为空的账户即匿名账户,导致登录的时候是虽然用的是root,但实际是匿名登录的,通过错误提示里的''@'localhost'可以看出来. 解决方案: 以管理员身份,在开始程序>Mysql 程序组中,打开MySQL 5.7 Command Line Client 的命令控制台, mysql 登录…