MySql C++ API (mysqlcppapi)
---------------------------

The mysqlcppapi project is a branch of the MySql++ project.
The branch happened at version 1.7, in order to continue its
development.

Install
-------

Specifying the location of libmysqlclient: Use the --with-mysql
option with configure to tell it where the MySQL C library was
installed.
e.g.
./configure --with-mysql=/usr/local
or
./configure --prefix=/usr --with-mysql=/usr

This assumes that you installed mysql in /usr/local/mysql (the
default) or /usr/mysql. Because mysql puts its library in such
a strange place, you may need to add this line to /etc/ld.so.conf:
/usr/mysql/lib/mysql


Building the examples
--------------------

cd to the examples directory and type 
'make' after the regular build.



--------------------------------------------------------------------
Start of MySql++ 1.7 README by Sinisa Milivojevic <sinisa@cytanet.com.cy>

Since October 1999, all maintenance has been transferred to Sinisa
Milivojevic (sinisa@cytanet.com.cy) and Michael Widenius (monty@mysql.com).

Send your feedback to any of these addresses, or even better to the
mailing list mysql-plusplus@lists.mysql.com.

Since versin 1.1, mysql++ has been prepared to be built with automake and
autoconf. 

This will make compilation and  installation much easier. 

You should cd to the root of source directory and run ./configure.

If you are running it several times, because you have problems, do delete 
config.cache. In case of the problem config.log contains more info on
it's whereabouts.

After configure is run, config.h and Makefiles are generated. 

If you wish to install mysql++ in a root directory other then /usr/local,
you should run configure with --with-prefix=.....

Configure contains description of other switches available.

After running configure, run make and make install. Libs will be
installed in prefix/lib and include files in prefix/include/mysql++.

Since version 1.3 of mysql++, it can no longer be compiled  and built by GNU
compilers older then 2.95. Since version 1.3, mysql++ has been changed to
accomodate changes in 2.95 on various aspects of C++. This prevents it's
building with earlier versions of GNU , like 2.7.xx, 2.8.xx. Also building
by egcs compilers 1.x.x is not supported any more. Although with some
changes in code mysql++ could be built with earlier compilers, running of
such programs would result in their crashing.


It was also noted that on certain SPARC Solaris installation, C++ exceptions
did not work with gcc 2.95.2.

This case was tested and it is established that mysql++ builds and runs
flawlessly with a following version of gcc on Solaris:

gcc version 2.95 19990728 (release)




This is C++ API  library for MySQL.

Starting based of 1.2, this is now maintained by sinisa@cytanet.com.cy
as kevinatk@home.com doesn't have time to support this library anymore. 

He has made sinisa@cytanet.com.cy a new official maintainer, which will
continue to keep mysql++ library under LGPL.

--------------------------------------------------------------------
End of MySql++ 1.7 README by Sinisa Milivojevic <sinisa@cytanet.com.cy>


Original information from kevinatk@home.com:
---------------------------------------------------------------------

After several people commented on how my quickie wrapper would be of
little use I decided to go all out and create a full featured
version.

To my knowledge this library requiures gcc 2.8 or egcc or better and of
course the mysql library.

To compile the library and modify the file Configure aproprietly
and type make.

I am working on trying to get this to compile into a library.
However I really don't know what I am doing. If you have some
experense with this please take a look at my makefile and uncomment the
appropriate lines and let me know if I am doing everything right.

For more information please see the manual.

I developed it using egcc ver 1.02 (I think) from the Debian hamm
package with kernel 2.0.33 and a Cryix P150+ cpu.  I am also using
Mysql 3.21.25 that is in the non-free section of the Debian
distribution.

Be sure to let me know what you think.  I depend on your feedback.

Thanks,
I can be reached at kevinatk@home.com
--------------------------------------------------------------------
End of original README by Kevin Atkinson



