随笔分类 -  linux

摘要:在Centos7 下mysql大小写敏感问题,会导致程序运行时找不到对应的表。 解决办法: 第一步:编辑/etc/my.cnf文件,在[mysqld]节下 添加 lower_case_table_names=1 参数,并设置相应的值 (备注:为0时大小写敏感,为1时大小写不敏感,默认为0)。 (必须 阅读全文
posted @ 2017-03-12 14:44 火爆泡菜 阅读(2796) 评论(0) 推荐(0)
摘要:CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。 1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firew 阅读全文
posted @ 2016-11-09 11:45 火爆泡菜 阅读(291) 评论(0) 推荐(0)