哈哈,果然是高手,能建立数据库了。不过用mysqladmin还是改不了密码,出现权限问题的提示:
unable to change password;you must have privileges to update tables in the mysql database
to be able to change passwords for others。
use mysql;时也会出现:
reading table information for completion of table and column names.you can turn off this feature
to get a quicker startup with -A(不知道这是不是正常现象)
我试了,不过我在系统里没有找到,my.ini或my.cnf,到是找到了
my-huge.cnf,my-large.cnf,my-medium.cnf和my-small.cnf四个文件,而且这4个文件里都有
[mysqld]这一段。所以我就在这4个文件里分别加了这一行。不过,在重起后用mysqladmin修改密码
的时候,依然提示:unable to change password;error:'access denied for user:'@localhost' to
database 'mysql'