在网上搜索了半天,最后发现设置权限命令都不能用。检测了半天发现 命令字符 写错了。我靠。网上大部分都是错的。。
upkiller 为密码 1,查看mysql状态: mysqladmin -h localhost -u root
-pupkiller satus 2,更改root密码:mysqladmin -h localhost -u root
-pupkiller passwo
【mysql】 【SQL】 【数据库】 【BY】 【test】 【grant】 …
May
30
2012
May
23
2012
May
20
2012
May
17
2012
May
04
2012
May
01
2012
Apr
29
2012
Apr
27
2012
本文内容遵从CC版权协议, 可以随意转载, 但必须以超链接形式标明文章原始出处和作者信息及版权声明网址: http://www.penglixun.com/tech/database/mysql_memory_usage_monitor.html
为了国际友人看得懂,以后我的博客都同时提供中英文版。:)
For foreign friends can understand, all of my blog at the same
time in English in the future.
使用MySQL中我经常发现mysqld的内存使用会涨的很快(Buffer
Pool是大页分配的),以至于使用SWAP,到底Server层用了多少内存,没有一个监控机制,所以第一步我编写了个patch(基于5.6.6)来监控每个线程用了多少内存,一旦mysqld进程使用太多内存,就去看哪些线程用的多,杀掉这些线程。
I often found mysqld process use memory will grow up very
fast(InnoDB Buffer Pool used …
Apr
17
2012
Apr
15
2012