When I try a rake db:migrate I get a 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' error. When I type mysql in my console I get the same error. (I can access the mysql database I want to migrate with phpmyadmin)
Someone has a clue how I can solve this.
my databse.yml looks like this
Some knows whats wrong,