How to connect a Laravel app to MySQL using MAMP?

后端 未结 1 640
小蘑菇
小蘑菇 2020-12-30 14:50

SOLVED: I followed what this website said http://forums.laravel.io/viewtopic.php?id=980 I just added \'unix_socket\' to the mysql array and it worked!

I am followin

相关标签:
1条回答
  • 2020-12-30 15:21

    MAMPs MySQL is running on port 8889, so add 'port' => '8889' to your config array

    0 讨论(0)
提交回复
热议问题