#include #include int main() { StderrLog log; Database db("localhost", "root", "", "tutorialdb", &log); if (!db.Connected()) { printf("Database not connected - exiting\n"); exit(-1); } Query q(db); q.execute("update player set name='Lorangrym' where num=1"); }