无意中发现我的网站有时候访问是全部空白,httpd是启动起来了。但是在连接mysql的时候,却提示找不到/var/mysql/mysql.sock。 这个文件确实不在了,而通过netstat -ntlp 发现mysql还在监听。只有到mysqld的错误日志里看看是什么问题了。 Read the rest of this entry
Posts Tagged ‘mysql’
[AMP] mysql 字符编码
2009.7 8
现在mysql又遇到乱码的问题了! 现在整理如下: 1:查看mysql的字符编码 登陆mysql,用status查看: 341e01afd97ce79a7335c2e20626ebcf000 或:show variables like ‘collation_%’; show variables like ‘character_set_%’; 2:修改mysql的字符编码 /et Read the rest of this entry