Mar 12, 2012 -

Migrating to mysql

Now mysql is officially supported by gitlabhq. Follow these steps to migrate to mysql.

Now mysql is officially supported by gitlabhq. Follow next steps to migrate to mysql

  1. Get latest code
  2. Install mysql
  3. Save data - bundle exec rake db:data:dump RAILS_ENV=production
  4. Change config to mysql using database.yml.example
  5. Setup db - bundle exec rake db:setup RAILS_ENV=production
  6. Restore old data - bundle exec rake db:data:load RAILS_ENV=production

Try all GitLab features - free for 30 days

GitLab is more than just source code management or CI/CD. It is a full software development lifecycle & DevOps tool in a single application.

Try GitLab Free
Git is a trademark of Software Freedom Conservancy and our use of 'GitLab' is under license

Try GitLab risk-free for 30 days.

No credit card required. Have questions? Contact us.

Gitlab x icon svg