yii连接mysql 数据库 指定socket

'connectionString' => 'mysql:host=localhost;dbname=yii_test;unix:/opt/lampp/var/mysql/mysql.sock',

相关文章: