
mysql
sunsson
这个作者很懒,什么都没留下…
展开
-
linux下寻找mysql配置文件
1:whereis mysql 或者ps -ef|grep mysql查看mysqld的目录 2:/x/mysqld --verbose --help |grep -A1 'Default options are read' 3:在列出的文件中一一查看是否存在,存在的即为mysql配置文件原创 2014-06-13 11:35:14 · 528 阅读 · 0 评论 -
error code [1260]; %d line(s) were cut by GROUP_CONCAT();
GROUP_CONCAT有个最大长度的限制,超过最大长度就会被截断掉,你可以通过下面的语句获得: mysql> SELECT @@global.group_concat_max_len; +-------------------------------+ | @@global.group_concat_max_len | +---------------------------原创 2014-06-13 11:38:42 · 3389 阅读 · 0 评论 -
mysql 特殊字符 查询 处理
查询mysql中的特殊字符 先插入一 update ana_news_info set title=REPLACE(title, CHAR(8), ''),content=REPLACE(content, CHAR(8), '') where title like '%%' or content like '%%';原创 2014-11-12 16:58:28 · 4016 阅读 · 0 评论 -
linux下寻找mysql配置文件
1:whereis mysql 或者ps -ef|grep mysql查看mysqld的目录 2:/x/mysqld --verbose --help |grep -A1 'Default options are read' 3:在列出的文件中一一查看是否存在,存在的即为mysql配置文件...原创 2014-05-06 16:33:17 · 296 阅读 · 0 评论 -
error code [1260]; %d line(s) were cut by GROUP_CONCAT();
GROUP_CONCAT有个最大长度的限制,超过最大长度就会被截断掉,你可以通过下面的语句获得: mysql> SELECT @@global.group_concat_max_len; +-------------------------------+ | @@global.group_concat_max_len | +-------------------------------...原创 2014-04-18 16:46:02 · 509 阅读 · 0 评论