Hi Brian,
I see that mysql-4 has been released recently and has a long list
of new AND incompatible features with version 3.
See announcement at:
http://www.mysql.com/doc/en/Upgrading-from-3.23.html
There seems to be a compatibility option when compiling:
"The old C API functions
mysql_drop_db,
mysql_create_db, and
mysql_connect are no longer
supported unless you compile MySQL
with
CFLAGS=-DUSE_OLD_FUNCTIONS.
Instead of doing this, it is preferable
to
change the client to use the new 4.0
API.
The ROOT-mysql interface will have to be upgraded to the new version.
Any volunteer to provide the relevant changes?
Rene Brun
On Fri,
4 Apr 2003, Brian Kurt Fujikawa wrote:
> Hello
>
> FYI, there appears to be an incompatibility issue with mysql-4.0.12 and
> root_v3.05.03. When building root from source on an i386 running RH8.0, I
> get the following error:
>
> g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -D_REENTRANT
> -I/usr/local/include/mysql -o mysql/src/TMySQLServer.o -c
> mysql/src/TMySQLServer.cxx
> mysql/src/TMySQLServer.cxx: In member function `virtual Int_t
> TMySQLServer::CreateDataBase(const char*)':
> mysql/src/TMySQLServer.cxx:201: `mysql_create_db' undeclared (first use
> this
> function)
> mysql/src/TMySQLServer.cxx:201: (Each undeclared identifier is reported
> only
> once for each function it appears in.)
> mysql/src/TMySQLServer.cxx: In member function `virtual Int_t
> TMySQLServer::DropDataBase(const char*)':
> mysql/src/TMySQLServer.cxx:214: `mysql_drop_db' undeclared (first use this
> function)
> make: *** [mysql/src/TMySQLServer.o] Error 1
>
> This problem seems to be limited just to the latest versions of MySQL;
> mysql-3.23.56 and root_v3.05.03 seem to work fine.
>
> Best Regards
>
> Brian
>
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET