First let me say this is my first attempt at an MVC framework so is most likely a noob issue, but please help.
I am running MAMP on Snow leapord, PHP 5.2.13. Anyway I have followed the tutorial so far to day 3 (http://www.symfony-project.org/jobeet/1_4/Doctrine/en/03) and all the way to "$ php symfony help doctrine:insert-sql" when I run this command I get:
My-names-MacBook-Pro:jobeet chris$ php symfony doctrine:insert-sql
>> doctrine creating tables
Warning: PDO::__construct():  No such file or directory (trying to connect via unix:///tmp/mysql.sock) in /Applications/MAMP/htdocs/www/jobeet/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection.php on line 470
PDO Connection Error: SQLSTATE[HY000]  No such file or directory
my databases.yml file looks like this:
I have tried the connection information with a basic php file like so, and it connects no problem, so the issue is not with the username/password.
$dbhost = "localhost";
$dbusername = "testjobeet";
$dbpasswd = "tester";
$database_name = 'jobeet';
$connection = mysql_connect("$dbhost","$dbusername","$dbpasswd")or die ("Could not connect to mysql");
$db = mysql_select_db("$database_name", $connection)or die("Could not connect to the database table.");
print "$connection <hr />$db";