File: README

package info (click to toggle)
mysql-connector-c%2B%2B 1.1.12-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 4,904 kB
  • sloc: cpp: 44,895; ansic: 2,114; php: 528; sql: 403; xml: 109; sh: 33; makefile: 11
file content (10 lines) | stat: -rw-r--r-- 557 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
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]