Cannot the connect to Database with PDO. SQLSTATE[42000]: 
Syntax error or access violation: 
1253 COLLATION 'utf8mb4_unicode_ci' is not valid for CHARACTER SET 'utf8'


解决办法:utf8改成utf8mb4。 set names 'utf8mb4'