Czech
 |
MySQL in C++
|
 |
06.04.12
MySQL++ download from
http://tangentsoft.net/mysql++/
1. Before installing MySQL++ we must add next packages by YaST
mysql
mysql-client
mysql-devel
mysql-administrator
mysql-query-browser
2. Install MySQL++
untar
./configure
make
make install
3. Create default MySQL database
su
mysql_install_db
--user=mysql
4. Start MySQL server
su
mysqld --user=mysql
5. Create testing database.
In MySQL++ installing sources type
cd examples
./resetdb
6. Try some examples.
In directory
examples
type perhaps
./simple1
./simple2
home
/
g++