PDA

查看完整版本 : 求救冷风站长:建库问题?


dts_e
2003-09-05, 16:56
在使用redhat9.0自带mysql数据库,在系统提示符下输入下列命令:
mysqladmin -u mysql -p create mydb <回车>
系统提示密码后输入mysql用户密码,系统提示下列信息:
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'mysql@localhost' (Using password: YES)'
建库失败,这是什么原因?(注:我是通过telnet登录到redhat主机的)

frankwang
2003-09-05, 17:04
提示你 的用户没有建库的权限吧

jxxyliu
2003-09-05, 17:04
你登录都没登上去呀!

冷风
2003-09-05, 17:06
mysql默认是没有密码的