Hi Mike, you've to use TSQLServer::Connect() to create a TMySQLServer object (which is accessable via the returned TSQLServer pointer) (TSQLServer is an abstract class so you cannot create a TSQLServer object anyway). To get the MySQL version of TSQLServer get package: ftp://pcroot.cern.ch/root/MySQL.tar.gz The package contains some examples. Cheers, Fons. On Sat, Jan 22, 2000 at 01:46:01PM -0500, Michael Clements wrote: > Hi All, > I am just starting to use root and I was wondering how I deal with the fact that there is no default constructor for TSQLServer. > > Thanks, > Mike -- 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 7677910
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:17 MET