I connect and transform some table data in db1. Further down I want to send that data to a table in a different database db2.
MYSQL* conn;
conn = mysql_init(0);
conn = mysql_real_connect(conn, "localhost", "root", "password", "db1", 3306, NULL, 0);
if (conn) {
...
// transform data
// Connect to "db2" and insert data into table
Do I need to use CLIENT_MULTI_RESULTS when establishing a connection? Or create a new conn?