![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mySql
我就是东
吃喝拉撒样样精通
展开
-
linux用 yum 安装 mysql
查看有没有安装过: yum list installed mysql* 删除 rpm -qa | grep mysql*查看有没有安装包: yum list mysql*安装mysql客户端: yum install mysql安装mysql 服务器端:原创 2013-04-26 17:39:12 · 604 阅读 · 0 评论 -
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
最近新装好的mysql在进入mysql工具时,总是有错误提示:# mysql -u root -pEnter password:ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)或者# mysql -u root -p password 'newpassword'转载 2013-05-24 13:36:37 · 515 阅读 · 0 评论 -
mysql不能启动 Manager of pid-file quit without updating file.
启动mysql失败,提示Manager of pid-file quit without updating file.错误。从网上直接搜索错误信息,感觉出错原因及解决方案都不适用于本机的情况。本着出错要查出其原因的原则,查看了mysql的出错日志(出错日志所在路径,请根据您自己机子的实际情况查找),发现错误信息:File ‘./mysql-bin.index’ not found (Err转载 2013-10-30 14:03:13 · 583 阅读 · 0 评论 -
mysql查询表
select count(*) from information_schema.columns where table_schema='baseframework' and table_name='tb_acegi_role' ;其中红色部分为需要更换的:前者是表所在的数据库名称,后者是要查询的表名转载 2014-03-18 09:42:22 · 935 阅读 · 0 评论