Posts

Migrating Gitlab from MySQL to Postgres

Apr 23, 2014
linux, sysadmin

Recently, I migrated Apovedas Gitlab installation from using MySQL as database server to PostgreSQL. Thats because until now, I have used the manual gitlab setup guides, and I now want to change this to use the automatic setup/provided packages, which all use postgres. Install Postgres and create the database # (Taken from the Gitlab installation manual): sudo apt-get install -y postgresql postgresql-client libpq-dev # Login to PostgreSQL sudo -u postgres psql -d template1 # Create a user for GitLab. ...