MySQL
web6pace
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
MySQL模糊查询like
MySQL 中like语句的通配符:% 、 _ 、 escape %:任意多个字符。 _:任意单个字符(可以代表一个中文字符)。 escape:将%,_转义,这样%和_就不为通配符了。 如: select * from user where like '%xiao/_%' escape '/'; select * from user where like '%x原创 2015-05-21 15:56:13 · 844 阅读 · 0 评论 -
sql文件导入大批量数据时,报错:Lost connection to MySQL server during query
转储sql文件导入到新的数据库时,出现Lost connection to MySQL server during query的错误。 解决方案: 1、Windows 在my.ini中[mysqld]添加如下内容 [mysqld] skip-name-resolve max_allowed_packet=32M 2、Linux 在my.ini配置文件的[mysqld]添加如下内原创 2015-05-19 10:50:37 · 888 阅读 · 0 评论
分享