Can't connect to MySQL on a fresh install #157
-
Pretty comfortable with the command line but I'm missing something about connecting Winter to MySQL on my local Mac (I have a photos app called Piwigo working fine, so the database and local MAMP server seem to be working.) After I run
It appears to be looking for an existing database, but there's nothing in the command line install procedure about creating and/or configuring said database. ALSO when I go to /mywinter/ in the browser, I get THIS big red error:
NOTE Thanks. joel |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 30 replies
-
@joeldcanfield It looks like your database credentials in the config are incorrect. You'll need to double-check those in Final solution for this specific issue: Needed to use |
Beta Was this translation helpful? Give feedback.
-
@joeldcanfield did you run "artisan winter:up" after creating the database? |
Beta Was this translation helpful? Give feedback.
@joeldcanfield It looks like your database credentials in the config are incorrect. You'll need to double-check those in
config/database.php
.Final solution for this specific issue: Needed to use
127.0.0.1
instead oflocalhost
for the database host option.