Hi there,
I have installed mysql connector C++ but I have some trouble in connecting to the db.
I used the simple standalone_example_docs1.cpp and when It tried to connect to the db (line 43: con = driver->connect("tcp://XXXXXXXXX:3306", "XXXXXX", "XXXXXX");) it returns the following errors:
# ERR: SQLException in test_install.cc(main) on line 63
# ERR: The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay (MySQL error code: 1104, SQLState: 42000 )
Some ideas?
Thanks,
Matteo
I have installed mysql connector C++ but I have some trouble in connecting to the db.
I used the simple standalone_example_docs1.cpp and when It tried to connect to the db (line 43: con = driver->connect("tcp://XXXXXXXXX:3306", "XXXXXX", "XXXXXX");) it returns the following errors:
# ERR: SQLException in test_install.cc(main) on line 63
# ERR: The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay (MySQL error code: 1104, SQLState: 42000 )
Some ideas?
Thanks,
Matteo