I am setting up Vikunja using the Debian package. How do I change the database away from sqlite to mysql? I updated the database section in /etc/vikunja/config.yml. How do I tell Vikunja to generate the scheme in mysql?
I migrated from sqllite to mysql on Ubuntu with the following steps:
- make a backup of my vikunja data with the vikunja cli
- create a mysql user and database (empty, no scheme) for vikunja
- edit config.yml user and database
- restart vikunja
- import my vikunja backup via cli
Hope that helps!
So far the only way for me to create the new schema is by spinning up an instance using Docker, export out the scheme from Docker and then import it into mysql.
Dump and restore are the only way to do this in Vikunja.