我卸载了一下mysql,在安装就装不上了.在mysql server instance configuration出现的错误信息是
connection error
the securty could not be the database because the connection has failed with the folowing error
error NO 1045
access denyed for user 'root'@localhost[using password yes]大概信息就是这样 求大家帮忙 小弟第一次在论坛提问 可能问的有些离谱 见笑...
connection error
the securty could not be the database because the connection has failed with the folowing error
error NO 1045
access denyed for user 'root'@localhost[using password yes]大概信息就是这样 求大家帮忙 小弟第一次在论坛提问 可能问的有些离谱 见笑...
解决方案 »
- 求按小时统计的语句
- 刚写的存储过程,总是在if附近的语句报错
- 数据表中有timestamp,如何查询出表中所有时间间隔为1分钟的记录
- postgresql 驱动……
- 我用的是mysql5.0的数据库提交中文就报错“Incorrect string value”各位帮忙看看
- 关于mysql插入空值的处理
- 修改了innodb_data_home_dir后,mysql无法启动,请问该怎样解决?
- 100分求jdbc连接字符串问题,MYSQL的,位于虚拟空间提供商那边,在JSP页里写代码连接
- 如果对utf编码直接进行查询?
- win2000+JDK1.3+Tomcat+mysql环境下该如何安装JDBC驱动程序?
- select top n 好象是标准sql吧,为何mysql竟然不支持呢?
- 请教mysql 外键 实现 A表删除一条数据,联动的B表更新记录
A.HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Application\MySQL 目录删除
B.HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Eventlog\Application\MySQL 目录删除
C.HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\MySQL 目录删除
D.HKEY_LOCAL_MACHINE\SYSTEM\CurrentControl001t\Services\MYSQL 目录
E.HKEY_LOCAL_MACHINE\SYSTEM\CurrentControl002\Services\MYSQL 目录
F.HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MYSQL 目录
总结一句话.WINDOWS目录下的MY.INI是祸害的根源,注册表中的EVENTLOG下的那些目录也是很需要注意的,但没有前者重要!
这个命令输入完 返回这个信息
C:\Program Files\MySQL\MySQL Server 5.1\bin>mysqld --defaults-file="C:\ProgramCould not open required defaults file: C:\Program
Fatal error in defaults handling. Program abortedC:\Program Files\MySQL\MySQL Server 5.1\bin>Files\MySQL\MySQL Server 5.1\my.ini"
--console --skip-grant-tables
输入正确命令
不断的循环出下面的错误 ctrl+c 都不好使 就得关闭cmd
mysqld --defaults-file="C:\Program Files\MySQL\MySQL Server 5.1\my.ini" --console --skip-grant-tables
090920 12:15:11 InnoDB: Operating system error number 32 in a file operation.
InnoDB: the error means that another program is using InnoDB's file
InnoDB: this might be a backup or antivirus software or another instance
InnoDB: of mysql .please close it to get rid of this error .
都做完了 然后配置这个 MySQL Server Instance Config Wizard ???
用这个命令把mysqld服务启出来,然后以root longin
执行成功了 登录不上去 哒的一声就玩完了 加你QQ下行吗? 远程协助下。 谢谢
执行成功界面是什么?贴出来看一下,应该是port ready for connection之类的。然后你再打开另一个dos, mysql -uroot 进去试试。
是什么?另外的工具?那检查一下你的权限。
用你教给我那方法密码都不用输 我都不知道什么用户 我重装后第一次用 应该只有root吧?
用不能没次都用这个 方法啊mysqld --defaults-file="C:\Program Files\MySQL\MySQL Server 5.1\my.ini" --console --skip-grant-tables
一般都输一个密码不就OK了?我输密码一下就弹没了 。