Re: [ROOT] MySQL and ROOT

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Fri Jun 28 2002 - 12:28:18 MEST


Hi Fons, Tony, et al, 

On 28 Jun 2002 01:01:26 +0200
Fons Rademakers <Fons.Rademakers@cern.ch> wrote
concerning "Re: [ROOT] MySQL and ROOT":
> Hi Tony,
> 
> It might be an issue with the mysql access permission that have to be
> set for localhost. Why it is not an issue with perl I don't know, but
> would like to know.

I don't think so, but see below. 

> On Wed, 2002-06-26 at 22:03, Timothy E Miller wrote:
> > Here's the ROOT access line:
> > 
> > TSQLServer *phenix =
> >    TSQLServer::Connect("mysql://gateway:3306/phenix",
> >                        "username","password");
> > 
> > (The gateway hostname works, localhost does not)

We saw a similar problem sometime ago.  I think I tracked it to an
error in the MySQL API, but it's long ago so I may remember wrong.
Also, I believe it has been corrected in never versions of MySQL.  Try
an upgrade and see if it works.  

Yours, 

 ____ |  Christian Holm Christensen 
  |_| |	 -------------------------------------------------------------
    | |	 Address: Sankt Hansgade 23, 1. th.  Phone:  (+45) 35 35 96 91
     _|	          DK-2200 Copenhagen N       Cell:   (+45) 24 61 85 91
    _|	          Denmark                    Office: (+45) 353  25 305
 ____|	 Email:   cholm@nbi.dk               Web:    www.nbi.dk/~cholm
 | |



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:58 MET