MySQL Forums
Forum List  »  Connector/C++

Not able to connect using standalone_example
Posted by: matteo interlandi
Date: September 03, 2012 10:55AM

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

Options: ReplyQuote


Subject
Views
Written By
Posted
Not able to connect using standalone_example
2550
September 03, 2012 10:55AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.