Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 7fc9888841469498b1cb51895f685a2f > files > 22

mysql-connector-c++-devel-1.1.0-0.2.bzr888.fc14.x86_64.rpm

The directory examples/ contains basic usage examples of the MySQL Connector/C++.

In order to compile and run them you must have a MySQL server installed. 
By default the examples will try to connect to a MySQL server on the host 
"127.0.0.1" at port "3306" using the username "root" and the password "root" 
to access the database "test". You can change the connection properties 
in example.h

Its possible to specify alternative connection parameters using command line
parameters: example_program tcp://<host>[:<port>] [username] [password] [database]