1
0
mirror of https://git.osuv.de/m/gitea-mariadb-migration.git synced 2024-05-12 03:55:05 +00:00

instruction to generate the init.ddl file

This commit is contained in:
Markus Bergholz
2018-08-21 23:15:22 +02:00
parent b38b68486d
commit 825eae9e21

View File

@ -1,3 +1,15 @@
# gitea-mariadb-migration
try to migrate from sqlite (origin gitea 1.3.x installation (but fequently updated and running 1.5.0 atm)) to MariaDB
# prepare mariadb initscript
do a fresh gitea installation in a new mariadb database and make a dump
```
mysqldump -h 127.1 -P 3307 -u root -ppassword --no-data gitea | grep --invert-match -E '\/\*|\--' > filtered_init.ddl
```