ChinaUnix.net
相关文章推荐:

ERROR 1044 42000 Access denied for user ''@'localhost' to database

这些天在安装mysql+qmail+httpd+vpopmail+igenus; 安装vpopmail时,加mysql用户:vpopmail时,出错,望高手们看看什么原因,在线等! [root@mail root]# mysql -uroot -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 22 to server version: 5.0.1-alpha-Max Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql>; grant all on vpopmail.* to vpopma...

by win111 - MySQL - 2008-01-31 15:16:46 阅读(15423) 回复(4)

相关讨论

有一数据库sort,试用root登录操作一切正常。新加一个用户www,授权给他所有权限 允许从任何地方登录,但是: [root@localhost ~]# /usr/local/mysql5.22/bin/mysql -u www -p**** Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server version: 5.0.22-log Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> use sort error 1044 (42000): access denied...

by greysky-zfj - MySQL - 2008-08-11 16:40:13 阅读(5334) 回复(9)

當我通過Linked Server執行job時出現如下錯誤: The job failed. The Job was invoked by user oauser. The last step to run was step 1 (Create Temp Table). The job was requested to start at step 1 (Create Temp Table). access denied. [SQLSTATE 42000] (error 2). The step failed. 該job執行如下語句: step 1: Drop table ORG_FactoryTemp Select * into ORG_FactoryTemp from [RemoteOA02S].OA.dbo.ORG_Factory ...

by sohi - SQL server - 2003-07-21 20:05:27 阅读(3243) 回复(1)

我在Suse Linux 10.2下用自带光盘用Yast2安装Mysql 5.0, 装好后在终端输入mysql, mysql 成功启动,退出,再输入 mysqladmin -u root password XXXXX, 出现错误: mysqladmin: connect to server at 'localhost' failed error: 'access denied for user 'root'@'localhost' (using password: NO)' 如先输入mysql,成功启动后输入use mysql,出现如下错误:access denied for user ''@'localhost' to database 'mysql' 还有,输m...

by yexin218 - MySQL文档中心 - 2007-08-22 16:27:47 阅读(1170) 回复(0)

昨天在windows7 下安装的MySQL 发现通过dos窗口可以进入mysql 但是今天尝试创建数据库的时候提示错误 mysql> drop database if exists school; error 1044 (42000): access denied for user ''@'localhost' to database 'school' mysql> 不知道为什么 刚接触mysql

by laoadiy - MySQL文档中心 - 2012-09-24 21:27:37 阅读(1709) 回复(0)

我的系统是linux,最近新装好的mysql在进入mysql工具时,总是有错误提示: # mysql -uroot -p Enter password: error 1045 (28000): access denied for user 'root'@'localhost' (using password: NO) 使用网上介绍的方法修改root用户的密码: # mysqladmin -uroot -p password 'newpassword' Enter password: mysqladmin: connect to server at 'localhost' failed error: 'access denied for user 'root'@'localhost' (using pass...

by niezhenqun - MySQL文档中心 - 2008-04-29 14:47:10 阅读(1455) 回复(0)

记得早上因为没有网络,把root密码改错了写成了: update user set password="122" where user="root"; 之后mysql就开始不工作了。 #mysql -u root -p #123 就会出现:error 1045 (28000): access denied for user ''@'localhost' (using password: NO) 只能这样: #mysql -u root mysql> use mysql 又出现了error 1045 (28000): access denied for user ''@'localhost' (using password: NO) 找了好久资料: 解决方法: 1.关闭mys...

by yexin218 - MySQL文档中心 - 2007-08-22 17:37:12 阅读(1235) 回复(0)

    今天Red Hat Enterprise Linux 6.0上跑得mysql神不知鬼不觉地执行mysql -u root -p登录时,报出了错误:access denied for user 'root'@'localhost' (using password: YES),但服务器每有做任何的改动,昨天还跑得好好的,也不晓得什么原因。在网上查找了下原因,找到一篇文章提供了如下的解决方法:
# /etc/init.d/mysql stop
# mysqld_safe --user=mysql --skip-grant-tables --skip-networking &

by zhongling520 - MySQL - 2011-12-22 08:53:13 阅读(900) 回复(0)

First, you will need to make sure whether the default user is 'admin' or 'root' or whatever. You will then need to reset the password. 

Start the mysql server instance or daemon with the --skip-grant-tables option. (security setting) You can do it by adding th...

by manfred_xu - MySQL - 2011-12-22 08:53:16 阅读(701) 回复(0)

SQLException: access denied for user ''@'localhost' (using password: YES)怎么改正这个错误 MySQL连不上总出这个错误,这到底是怎么回事啊?? 最佳答案 localhost用户名要是root才行即'root'@'localhost' 密码为你指定的密码,MySQL默认为空 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/94064/showart_2147696.html

by mcuflower - Java文档中心 - 2010-01-13 16:29:02 阅读(2447) 回复(0)

我的系统是ubuntu6.06,最近新装好的mysql在进入mysql工具时,总是有错误提示: # mysql -uroot -p Enter password: error 1045 (28000): access denied for user 'root'@'localhost' (using password: NO) 使用网上介绍的方法修改root用户的密码: # mysqladmin -uroot -p password 'newpassword' Enter password: mysqladmin: connect to server at 'localhost' failed error: 'access denied for user 'root'@'localhost' (using...

by ipyt - MySQL文档中心 - 2008-09-23 18:35:36 阅读(1605) 回复(0)