# to invoke SQLite
sqlite3 <db.dump>
# to find tables
sqlite> .tables
# to check schema for table
sqlite> PRAGMA table_info(<table-name>);
# Ctrl+D to break out
service mysql [status | start | stop]
# config file, set bindIP if needed
/etc/mysql/mariadb.conf.d/50-server.cnf
CREATE USER 'kashz'@'%' IDENTIFIED BY 'kashz';
GRANT ALL ON *.* TO 'kashz'@'%' IDENTIFIED BY 'kashz';
FLUSH PRIVILEGES;
# listen on 3306 from tun0 IP and route to 3306 via localhost
$ socat TCP-LISTEN:3306,fork,bind=10.10.16.161 TCP:127.0.0.1:3306