Re: [ROOT] How to use MySQL on Windows system

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Mon Nov 12 2001 - 18:41:25 MET


You should get a MySql client library for Windows (libmysqlclient)
and then rebuild ROOT on Windows. You can find such a lib for
the cygwin environment (but this requires them cygwin.dll to run
ROOT with mysql).

Cheers, Fons.



Andrei Daniel wrote:
> 
> Hi Rooters,
> 
> Who used MySQL database in the root on the Windows system.
> libMySQL.dll is not included in the common distribution for
> Windows. By this reason, I got MySQL source files from
> the root archive, make MySQLcint.cpp by rootcint and
> translated all files into the DLL by Visual C++ 6.0.
> 
> 1. rootcint could not recognized __declspec(dllexport).
> Is it correct or not. I excluded this definition on
> the rootcint step and included it later.
> 2. Library is created without errors but it could
> not be loaded by gSystem->Load("libMySQL").
> 
> Any suggestions would be helpful to me.
> 
> Andrei
> 
> ----------------------------------------------
> Andrei Daniel
> FLNR, JINR, Dubna 141980 Russia
> e-mail: daniel@jinr.ru
> tel: 7 (09621) 64568   fax: 7 (09621) 65083

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:08 MET