RE: MYSQL header

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Wed, 29 Jun 2005 09:17:29 -0500

mysql.h is part of the MySQL distribution and not from the ROOT distribution.

Including it directly into CINT is unlikely to be what you need/want. This would tell CINT that the function in the header will be provided as interpreted function.

Instead you should

However this again my not be want you are looking for, and maybe you should look at the documentation for TSQLServer (and TMySQLServer).

Also you can try

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch] On Behalf Of Simioni Eduard
Sent: Wednesday, June 29, 2005 4:59 AM
To: roottalk_at_pcroot.cern.ch
Subject: [ROOT] MYSQL header

Dear Root users,

I use the standard statements to read data from MYSQL database including the standard header:
#include <mysql.h>

but I obtain:

root [21] .x Data_Collection_V2.C
Error: cannot open file "mysql.h" FILE:Data_Collection_V2.C LINE:17 *** Interpreter error recovered ***

Isn't include this header in root 4.03?

Any suggest are welcome.
Best Regard.

Eduard Received on Wed Jun 29 2005 - 16:18:24 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:09 MET