![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MySQL 故障处理
常飞梦
10年以上工作经验,8年以数据库管理、开发经验,对数据库优化和架构有比较深的了解。
展开
-
解决Mysql导入乱码问题
方法一: 通过增加参数 –default-character-set = utf8 解决乱码问题 C:\Users\Administrator>mysql -uroot -p yktgl < F:\YIKATONG\application\gl.sql --default-character-set=utf8 方法二: 在命令行导入乱码解决 1.mysql>use gl; 2.m原创 2015-09-11 16:09:26 · 1102 阅读 · 0 评论 -
Can't connect to local MySQL server through socket 问题解决
Linux5.6系统刚安装完mysql后,执行mysql命令报下面的错: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) 1、先查看 /etc/rc.d/init.d/mysqld status 看看mysql服务是否已经启动.原创 2013-03-19 16:21:59 · 1270 阅读 · 0 评论 -
创建主键时报错:ERROR 1075 (42000): Incorrect table definition; there can be only one auto column and it mus
今天在创建有联合主建的表时,出现下面的错误: ERROR 1075 (42000): Incorrect table definition; there can be only one auto column and it must be defined as a key mysql> CREATE TABLE animals1 ( -> grp ENUM('fish'原创 2013-08-06 10:59:54 · 27038 阅读 · 1 评论 -
MySQL安装启动时报错一则
问题:--成功安装[root@hadoop0 rpm]# rpm -ivh MySQL-server-5.6.28-1.el6.x86_64.rpmwarning: MySQL-server-5.6.28-1.el6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEYPreparing...原创 2016-05-16 14:41:41 · 7305 阅读 · 0 评论