PHP Artisan Migrate with MAMP and Unix Socket
问题 I was developing my application originally in Laravel 4.2 but have since decided to move it to the 5.0 version so that it covers a lot more changes and strengths that 5.0 has over 4.2. I am trying to run my migratiosn however I am getting the error: [PDOException] SQLSTATE[HY000] [2002] No such file or directory I looked into this and noticed how it is because I'm running MAMP for my server instead of vagrant and homestead. I'm not knocking the uses of those two but I at this point feel more