... | ... | @@ -101,7 +101,7 @@ import: |
|
|
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`. After that, run `/litebans reload` & `/litebans import start` in that order. Note: these options are for the origin (H2) database, not the target (MySQL/MariaDB) database.
|
|
|
|
|
|
### Import from LiteBans (convert MySQL -> H2)
|
|
|
1. Connect LiteBans to the new H2 database which you want to use instead of the MySQL database
|
|
|
1. Connect LiteBans to a H2 database by changing `driver: MySQL` to `driver: H2` in config.yml and running `/litebans reload`.
|
|
|
2. `/litebans info` should state that LiteBans is connected to a H2 database. If not, go back to step 1.
|
|
|
3. Set `from: litebans` and `sqlite: false` in config.yml under the `import` section.
|
|
|
5. Set the MySQL import settings (import_mysql_address, import_mysql_database, import_mysql_username, import_mysql_password)
|
... | ... | |