Hi,
you probably need to specify the port as well.
port: 3306
Am 25.01.2011 11:16, schrieb dbenjamin:
Hi,
In order to fix the fu***** "Can't connect to local MySQL server
through socket '/tmp/mysql.sock'" error thing, i try to change the
host from the doctrine.dbal configuration, but the option seems to be
ignored.
doctrine.dbal:
driver: pdo_mysql
dbname: anonymation_sf2
user: anonymation
password: anonymation
host: "127.0.0.1"
But i still have in the stack trace :
1. at
*PDO->__construct*('mysql:host=localhost;dbname=anonymation_sf2;',
'anonymation', 'anonymation', /array/())
in
//opt/website/www-test/anonymation_sf2/src/vendor/doctrine-dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php
line 36/ »
<http://anotest.anonymation.com/add-user/delendial/password#>
2. at
*PDOConnection->__construct*('mysql:host=localhost;dbname=anonymation_sf2;',
'anonymation', 'anonymation', /array/())
in
//opt/website/www-test/anonymation_sf2/src/vendor/doctrine-dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php
line 47/ »
<http://anotest.anonymation.com/add-user/delendial/password#>
3. at *Driver->connect*(/array/('driver' => 'pdo_mysql',
'driverOptions' => /array/(), 'dbname' => 'anonymation_sf2',
'host' => 'localhost', 'user' => 'anonymation', 'password' =>
'anonymation'), 'anonymation', 'anonymation', /array/())
in
//opt/website/www-test/anonymation_sf2/src/vendor/doctrine-dbal/lib/Doctrine/DBAL/Connection.php
line 303/
/
/
'host' => 'localhost'
Am i missing something ?
Thanks :)
--
Benjamin Dulau - anonymation CEO
anonymation.com <http://anonymation.com/> | code.anonymation.com
<http://code.anonymation.com/>
[email protected]
--
If you want to report a vulnerability issue on symfony, please send it
to security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en