select count(*) as cnt from (SELECT cc_guid FROM tbcc_base_info_nature where confirm = '1' group by cc_guid) T

2002 : Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

error file : /theongc_japan/project/2014_project13.php