[英]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. 我去了Digital Ocean并得到了一个Dokku服务器。 From there I set it up by simply going to the IP and pushing the blue button.
从那里我通过简单地转到IP并按下蓝色按钮来设置它。
I then followed this guide except that I made a deviation with the dokku mysql plugin . 然后我按照本指南,除了我与dokku mysql插件的偏差。
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? 关键问题 :如果我遇到上述错误,如何设置MySQL数据库?
There is an answer here: https://www.digitalocean.com/community/questions/can-t-install-mysql-on-dokku 这里有一个答案: https : //www.digitalocean.com/community/questions/can-t-install-mysql-on-dokku
Short: use this fork https://github.com/k2nr/dokku-mysql-plugin 简短:使用此分支https://github.com/k2nr/dokku-mysql-plugin
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.