Quantcast
Channel: MySQL Forums - Connector/C++
Viewing all articles
Browse latest Browse all 527

Not able to connect using standalone_example (no replies)

$
0
0
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

Viewing all articles
Browse latest Browse all 527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>