# to invoke SQLitesqlite3<db.dump># to find tablessqlite> .tables# to check schema for tablesqlite> PRAGMAtable_info(<table-name>);# Ctrl+D to break out
servicemysql [status |start|stop]# config file, set bindIP if needed/etc/mysql/mariadb.conf.d/50-server.cnfCREATEUSER'kashz'@'%'IDENTIFIEDBY'kashz';GRANTALLON*.*TO'kashz'@'%'IDENTIFIEDBY'kashz';FLUSHPRIVILEGES;# listen on 3306 from tun0 IP and route to 3306 via localhost$socatTCP-LISTEN:3306,fork,bind=10.10.16.161TCP:127.0.0.1:3306