![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mysql
文章平均质量分 89
胡楮智
这个作者很懒,什么都没留下…
展开
-
改字符集太low,不更改字符集法解决问题【MySQL Error: Illegal mix of collations for operation ‘concat‘】
MYSQLconcat函数连接多个字符串时报错【MySQL Error: Illegal mix of collations for operation 'concat'】 各种搜索千篇一律 【原因:字段操作默认为UTF8的编码,应该绝对统一使用UTF-8,而创建数据库时使用了其它编码。】 【唯一解决办法:在Navicat for MySQL中删除掉原来的数据库,重新新建,新建时设置字符集和排序规则为UTF-8】 评价:靠,这是什么狗屁解决办法?原来我选择字符集gbk是错误的。难道就只能更新字符集.原创 2020-07-27 08:59:53 · 209 阅读 · 0 评论 -
redhat6 安装mysql5.7.19,安装php5.6.31和安装apache httpd-2.4.27
1. redhat6 网卡配置 打开系统发现系统默认auto eth0 ,自己配的system eth0 没有启用,把auto eth0删除后重启network服务,报错没找到设备。 用ifconfig 查看发现,启动的还是auto eth0。 编辑文件/etc/udev/rules.d/70-persistent-net.rules 最终发现是 因为 mac原创 2017-12-05 14:16:34 · 1555 阅读 · 0 评论