Install Fail on rake in section: [Setup application]
Created by: FLasH3r
Based on the wiki guide:
https://github.com/gitlabhq/gitlabhq/blob/stable/doc/install/installation.md
This line fails:
sudo -u gitlab bundle exec rake gitlab:app:setup RAILS_ENV=production
reason:
rake aborted! Mysql2::Error: Can't create database 'gitlabhq_production'; database exists: CREATE DATABASE
gitlabhq_production
DEFAULT CHARACTER SETutf8
COLLATEutf8_unicode_ci
I think because we already created the database in the Database setup section:
Create the GitLab production database
mysql> CREATE DATABASE IF NOT EXISTS
gitlabhq_production
DEFAULT CHARACTER SETutf8
COLLATEutf8_unicode_ci
;
What do I do ?