[GH-ISSUE #150] Mysql Homebrew #105

Closed
opened 2026-02-26 02:32:08 +03:00 by kerem · 4 comments
Owner

Originally created by @OmgImAlexis on GitHub (Dec 28, 2015).
Original GitHub issue: https://github.com/koel/koel/issues/150

When trying to install koel I got [PDOException] SQLSTATE[HY000] [2002] No such file or directory after running php artisan init.

Running this solved the issue.

sudo mkdir /var/mysql
cd /var/mysql && sudo ln -s /tmp/mysql.sock
Originally created by @OmgImAlexis on GitHub (Dec 28, 2015). Original GitHub issue: https://github.com/koel/koel/issues/150 When trying to install koel I got `[PDOException] SQLSTATE[HY000] [2002] No such file or directory` after running `php artisan init`. Running this solved the issue. ``` sudo mkdir /var/mysql cd /var/mysql && sudo ln -s /tmp/mysql.sock ```
kerem closed this issue 2026-02-26 02:32:08 +03:00
Author
Owner

@phanan commented on GitHub (Dec 28, 2015):

And what exactly does this have to do with Koel...?

<!-- gh-comment-id:167564367 --> @phanan commented on GitHub (Dec 28, 2015): And what exactly does this have to do with Koel...?
Author
Owner

@OmgImAlexis commented on GitHub (Dec 28, 2015):

Without it Koel won't start.

You may want to add this to the wiki or add a check in Koel to see if the socket is even there.

<!-- gh-comment-id:167578357 --> @OmgImAlexis commented on GitHub (Dec 28, 2015): Without it Koel won't start. You may want to add this to the wiki or add a check in Koel to see if the socket is even there.
Author
Owner

@phanan commented on GitHub (Dec 29, 2015):

Without it no MySQL-involved web apps will start, not just Koel. This is your MySQL installation issue, again nothing to do with Koel.

<!-- gh-comment-id:167690513 --> @phanan commented on GitHub (Dec 29, 2015): Without it no MySQL-involved web apps will start, not just Koel. This is your MySQL installation issue, again nothing to do with Koel.
Author
Owner

@OmgImAlexis commented on GitHub (Dec 29, 2015):

Yes but since Koel refuses to start it'd be nice to have on the wiki. I spent hours last night trying to work this out.

<!-- gh-comment-id:167703728 --> @OmgImAlexis commented on GitHub (Dec 29, 2015): Yes but since Koel refuses to start it'd be nice to have on the wiki. I spent hours last night trying to work this out.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#105
No description provided.