Код: Выделить всё
Exception 'yii\db\Exception' with message 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known
in //.../http/vendor/yiisoft/yii2/db/Connection.php:624
Код: Выделить всё
Exception 'yii\db\Exception' with message 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known
in //.../http/vendor/yiisoft/yii2/db/Connection.php:624
Код: Выделить всё
~/http $ mysql -u password -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Код: Выделить всё
'dsn' => 'mysql:host=abcd.bb.ru;dbname=lema10',