Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Gogs requires a database to work. This chapter describes how to set MySQL Community Server 5.5.53 up, so it would maintain Gogs.

1.1 Download MySQL

Download MySQL Community Server 5.5.53. Download executable file and launch, or if you have downloaded archived version, unpack it and then launch executable file.

1.2 Install MySQL

Run executable file and proceed installation until installation program will ask you to chose setup type:

...

Make sure that the box “Launch the MySQL Instance Configuration Wizard” is checked and press “Finish”.

1.3 Configure MySQL

After pressing “Finish” button, Configuration Wizard will pop up. Press “Next” button:

...

Uncheck “Modify Security Settings” box (Do not worry, custom password will be set later) and proceed in the Configuration Wizard until you hit “Finish” button.

MySQL configuration finish

1.4 Setup the database

Run command line (cmd) and enter the line: mysql -u root –password=root

...