Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting up Dokku with MySQL and Rails

Right off the bat, this is the issue:

$ dokku mysql:create app
mkdir: cannot create directory ‘/home/git’: Permission denied

Dumb founded... Here's what I did:

I went to Digital Ocean and got a Dokku server. From there I set it up by simply going to the IP and pushing the blue button.

I then followed this guide except that I made a deviation with the dokku mysql plugin.

Let me know if you need anymore information. Will happily update my question per a comment.

Key Question: How do I set up a MySQL DB given that I am having the above error?

like image 986
BenMorganIO Avatar asked Nov 02 '22 00:11

BenMorganIO


1 Answers

There is an answer here: https://www.digitalocean.com/community/questions/can-t-install-mysql-on-dokku

Short: use this fork https://github.com/k2nr/dokku-mysql-plugin

like image 146
Peacemoon Avatar answered Nov 12 '22 18:11

Peacemoon