Added by Alexander Liebrecht almost 9 years ago
Hello community and developers,
I need your help. I just install Open Project (the latest version) on a dedicated server with Centos 7 and MariaDB as MySQL.
I am at the final in the installation and when I run this SSH command, I get errors displayed.
bundle exec rake db:create:all
This Errors:
Couldn't create database for {"adapter"=>"mysql", "database"=>"xxxxxxx", "host"=>"localhost", "username"=>"xxxxxxxxxx", "password"=>"xxxxxxxxxx", "encoding"=>"utf8"}
Apparently the mysql adapter is not admitted or what may be there?
Everything else seems to be installed.
About a speedy assistance I am very pleased. Thanks in advance.
Replies (2)
Hey Alexander,
you didn’t post your database.yml, but I expect that you configured it with a setting of the form:
adapter: mysql
.mysql2
is the correct ActiveRecord adapter name for MySQL (and MariaDB).Unrelated question: Did you try the packaged installation method ? It is also available for CentOs and you can simply use your existing MariaDB instance.
Best,
Oliver
Hey Oliver,
Thank you for your quick response and I have almost achieved it. I installed OpenProject according to these instructions: https://community.openproject.com/topics/1308
My Project was meant to be seen already under http://openproject.liebrecht-projekte.de, but not yet.
Something I can still see it or forgot.
The contents of the virtual hosts for this subdomain looks like this:
Are you an idea of what I lack, or whether what could it be?
Thanks in advance.