Kaplenko Vitalij wrote:
> - mysql++-1.7.21
Why are you using an old version of MySQL++? Get the current version
here: http://tangentsoft.net/mysql++/
> If I change only one row in simple1.cc:
> // mysqlpp::Connection con(mysqlpp::use_exceptions);
> mysqlpp::Connection con("bk","localhost","root","mypasswd");
You don't need to make this change. The simple1 program takes command
line arguments, as do most of the examples. Read examples/README.
> Error: Client does not support authentication protocol requested by
> server; consider upgrading MySQL client
> Segmentation fault
I imagine the error means just what it says: your mysqlclient library is
older than your MySQL version.