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:
12
README.md
12
README.md
@ -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
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user