Hi all,

i'm trying to follow the Jobeet 1.4 Doctrine guide and when i run the
command php symfony doctrine:insert-sql I receive this error:

Warning: PDO::__construct(): php_network_getaddresses: getaddrinfo
failed: nodename nor servname provided, or not known in /Users/andrea/
Documents/sfproject/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/
lib/vendor/doctrine/Doctrine/Connection.php on line 470

Warning: PDO::__construct(): [2002] php_network_getaddresses:
getaddrinfo failed: nodename nor servn (trying to connect via
tcp://localhost,dbname=jobeet:3306) in /Users/andrea/Documents/
sfproject/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/
doctrine/Doctrine/Connection.php on line 470

PDO Connection Error: SQLSTATE[HY000] [2002] php_network_getaddresses:
getaddrinfo failed: nodename nor servname provided, or not known

I check the Connection.php file at line 470 but there is only the
connection to db.

Before of this commend i run two command for create the model and sql:

php symfony doctrine:build --model
php symfony doctrine:build --sql

What is my mistake?
Thanks all.

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.

Reply via email to