Convert your WackoWiki database from MySQL To SQLite

mysql-to-sqlite3 – Transfer data from MySQL to SQLite


Import your database

mysql2sqlite -f /home/user/Download/wacko.sqlite -d db_name -u root -p -K	

user@localhost:~> mysql2sqlite -f /home/user/Download/wacko.sqlite -d wacko -u root -K -p
MySQL password: 
mysql2sqlite version 2.4.1 Copyright (c) 2019-2025 Klemen Tusar
2025-11-18 10:26:51 INFO     Transferring table doc_page
100%|█████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00,  6.58it/s]
2025-11-18 10:26:52 INFO     Transferring table doc_page_link
100%|█████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 16.82it/s]
2025-11-18 10:26:52 INFO     Transferring table doc_referrer
2025-11-18 10:26:52 INFO     Transferring table doc_revision
100%|█████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00,  6.14it/s]
2025-11-18 10:26:52 INFO     Transferring table doc_user
100%|████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 239.81it/s]
2025-11-18 10:26:52 INFO     Transferring table doc_user_setting
100%|████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 225.21it/s]
2025-11-18 10:26:52 INFO     Transferring table doc_usergroup
100%|███████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 2972.58it/s]
2025-11-18 10:26:52 INFO     Transferring table doc_usergroup_member
100%|███████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 1455.85it/s]
2025-11-18 10:26:52 INFO     Transferring table doc_watch
100%|█████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 45.21it/s]
2025-11-18 10:26:52 INFO     Transferring table doc_bad_behaviour
2025-11-18 10:26:52 INFO     Transferring table doc_word
2025-11-18 10:26:52 INFO     Transferring table doc_acl
100%|█████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00,  8.58it/s]
2025-11-18 10:26:53 INFO     Transferring table doc_auth_token
100%|███████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 2910.69it/s]
2025-11-18 10:26:53 INFO     Transferring table doc_cache
100%|███████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 4156.89it/s]
2025-11-18 10:26:53 INFO     Transferring table doc_config
100%|████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 315.60it/s]
2025-11-18 10:26:53 INFO     Transferring table doc_category
100%|████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 409.68it/s]
2025-11-18 10:26:53 INFO     Transferring table doc_category_assignment
100%|████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 104.83it/s]
2025-11-18 10:26:53 INFO     Transferring table doc_external_link
100%|█████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 34.22it/s]
2025-11-18 10:26:53 INFO     Transferring table doc_file
100%|█████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 65.26it/s]
2025-11-18 10:26:53 INFO     Transferring table doc_file_link
100%|█████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 73.51it/s]
2025-11-18 10:26:53 INFO     Transferring table doc_log
100%|███████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 2690.38it/s]
2025-11-18 10:26:53 INFO     Transferring table doc_menu
100%|████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 226.39it/s]
2025-11-18 10:26:53 INFO     Done!	

config.php

'db_charset' => '',
'db_collation' => '',
'db_driver' => 'sqlite',
'db_engine' => 'SQLite3',
'db_vendor' => '',
'db_host' => '',
'db_port' => '',
'db_name' => 'file/data/wacko.sqlite',
'db_user' => '',
'db_password' => '',
'sql_mode' => '0',
'table_prefix' => 'doc_',	

Add the table for the search index (change the table prefix if different) or use the {{adminupdate}} action to create the missing table.

CREATE VIRTUAL TABLE doc_page_fts USING fts5(
    title, 
    body,
    content='{$pref}page', 
    content_rowid='page_id'
);

If you have a local installation all should work as expected.