根据jlbh字段 删除 sjkk_gcxq 中不存在而 sjkk_gcjl 中存在的数据delete from sjkk_gcjl where not exists (select 1 from sjkk_gcxq where sjkk_gcjl.jlbh=sjkk_gcxq.jlbh);【阅读全文】
查询:SELECT COUNT(*) FROM `unicode_ci` a,`qwifi.general_ci` b WHERE a.`username` = b.`username` LIMIT 0, 1000<br /><br />错误代码: 1267<br />Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '='<br /><br />解决办法:修改字符集校验码<br /> ...【阅读全文】
一台不是自己安装的mysql数据库,后来接手 想登陆下查看些信息,遇到如下问题<br />ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/data/mysql/mysqld.sock' (2)<br />遇到此问题后我的一些分析过程,记录了下和大家分析下。<br />1.首先查看下路径/data/mysql/里面有没有mysqld.sock这个文...【阅读全文】