laravel/framework — pull request #2648 by gmergoil (2013-11-05 19:16:26+00:00)
Title: Update MySqlConnector.php when the unix_socket param is used

Fix a bug when the unix_socket param is used.
1/ according to the PHP doc, unix_socket and host[port] should not be used together. this bug causes an error on the Google App Engine platform that needs the use of the unix_socket param.
2/ when the unix_socket param is used, the dbname param is ignored by the PDO object used underneath. the connect() function has been updated to call explicitly the 'use dbname' mysql command in this case.