mysql -h localhost -u root
这样登录试一试
这样登录试一试
解决方案 »
- com.mysql cannot be resolved to a type 错误
- 如何在mysql数据库中插入中文部产生乱码?
- 请高手指教MYSQL问题..急!!
- 请问PostgreSQL定义表的字段长度的时候,如何指定是全角的还是半角的长度?
- 数据库界面的问题
- like数据多速度慢有谁能帮帮我
- 50分求教一个触发器的简单问题,很简单的,进来看看。
- postgres中如何检查一张表是否已经存在?
- phpmyadmin导入CSV时报错Invalid parameter for CSV import转义字段的字符
- 请进!!!!mysql && hp-ux !!!help me!!!
- 怎么写这样的SQL语句!在线等!
- mysql 的日期问题
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'
如果是 WIN 系统,在系统目录下建立一个 my.ini 文件,如果是 Linux 系统,就需要在 etc 目录下建立一个 my.cnf 文件文件内容就是我上面所述的!
我去试试,就加一段
[mysqld]
skip-grant-tables
是吗?
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(不知道这是不是正常现象)