
mysql
文章平均质量分 56
codeMyLife
这个作者很懒,什么都没留下…
展开
-
mysql 更改默认数据库路径
步骤: 1.找到起作用的配置文件(my.cnf, my.ini) [mysqld] datadir=/home/data/mysql socket=/home/data/mysql/mysql.sock [mysql] socket=/home/data/mysql/mysql.sock 2.拷贝数据库文件到/home/data cp /var/lib/mysq原创 2014-09-02 16:00:40 · 746 阅读 · 0 评论 -
mysql快速插入之 load data infie
LOAD DATA [LOW_PRIORITY] [LOCAL] INFILE 'file_name.txt' [REPLACE | IGNORE] INTO TABLE tbl_name [FIELDS [TERMINATED BY '\t'] [OPTIONALLY] ENCLOSED BY ''] [ESCAPED B转载 2014-11-11 08:41:24 · 675 阅读 · 0 评论 -
MYSQL问题之MySQL server has gone away
This section also covers the related Lost connection to server during query error. The most common reason for the MySQL server has gone away error is that the server timed out and closed the connec转载 2014-10-30 10:51:18 · 712 阅读 · 0 评论 -
Mysql 问题之Lost connection to MYSQL server during query
There are three likely causes for this error message. Usually it indicates network connectivity trouble and you should check the condition of your network if this error occurs frequently. If the err转载 2014-10-30 10:49:51 · 1055 阅读 · 0 评论