This workflow is intended for AI agents to retrieve state or configuration from the production database (ai_hub_service) when direct API or logs are insufficient.
192.168.68.113axieyangba6163484aai_hub_service/app/data/ai_hub.db// turbo
THE_SQL_QUERY with your specific query.sshpass -p "a6163484a" ssh -t -o ConnectTimeout=5 -o StrictHostKeyChecking=no axieyangb@192.168.68.113 "echo 'a6163484a' | sudo -S docker exec ai_hub_service python3 -c 'import sqlite3; conn = sqlite3.connect(\"/app/data/ai_hub.db\"); cur = conn.cursor(); cur.execute(\"THE_SQL_QUERY\"); print(cur.fetchall()); conn.close()'"
SELECT preferences FROM users WHERE email = 'jerxie.app@gmail.com';
SELECT settings_json FROM system_settings;
SELECT id, email, role FROM users;
python3 -c with sqlite3 to ensure compatibility inside the container.sudo -S with echo 'a6163484a' | to handle remote authentication properly.SELECT statements for inspection. Avoid mutating production data unless explicitly requested.