... | ... | @@ -98,7 +98,7 @@ import: |
|
|
3. Set `from: litebans` in config.yml
|
|
|
4. Set `sqlite: true` -- with LiteBans only, this option implies H2 and not SQLite
|
|
|
5. Run `/litebans import start`
|
|
|
6. If you get a **Wrong user name or password** error, set `import_mysql_username` and `import_mysql_password` to the H2 user/password stored in `h2.yml`. Note: these options are for the origin (H2) database, not the target (MySQL/MariaDB) database. The target database is always what the plugin is currently connected to.
|
|
|
6. If you get a **Wrong user name or password** error, set `import_mysql_username` and `import_mysql_password` to the H2 user/password stored in `h2.yml`. Note: these options are for the origin (H2) database, not the target (MySQL/MariaDB) database. The target database is always what the plugin is currently connected to. After that, run `/litebans reload` & `/litebans import start` in that order.
|
|
|
|
|
|
### Import from LiteBans (convert MySQL -> H2)
|
|
|
1. Connect LiteBans to the new H2 database which you want to use instead of the MySQL database
|
... | ... | |