Chinaunix

标题: 安装mysql 5.0时遇到很奇怪的问题 [打印本页]

作者: huangruir    时间: 2008-03-05 19:41
标题: 安装mysql 5.0时遇到很奇怪的问题
我在xp下安装mysql 5.0时,安装是成功的,但是测试的时候,运行下面的命令,
    1. Change to the MySql directory

          cd c:\program files\mysql\mysql server 4.1\bin

        2. Run the MySql program

          mysql.exe


出现了错误:
ERROR 1045 <28000>: Access denied for user ‘ODBC'◎'localhost’<using password:NO>
不知道是为什么?请高手指点一下。。
作者: yueliangdao0608    时间: 2008-03-06 00:17
D:\LAMP\MYSQL5\bin>mysql.exe -uroot -p
Enter password: ******
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.1.22-rc-community-log MySQL Community Server (GPL)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>
作者: huangruir    时间: 2008-03-06 19:42
非常的感谢大侠啊,呵呵,搞定,为什么要那样呢?
作者: leonleon    时间: 2008-03-07 17:17
提示: 作者被禁止或删除 内容自动屏蔽
作者: huangruir    时间: 2008-03-07 23:04
哦,那root是数据库名称吗?可以改动的把
作者: nogroup    时间: 2008-03-08 00:24
root是mysql超级管理员用户名.
作者: huangruir    时间: 2008-03-08 09:31
恩。谢谢了,




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2