Nevermind! I'm in! Yeehaw... Now I hope I can stop bugging you guys
for at least...48 hours?
- grateful John
Dr. John Krane wrote:
> Hi,
>
> I'm using the following in my code:
>
> TSQLServer* serv =
> TSQLServer::Connect("mysql://serverpc.mydomain.com/taq",
> "myusername","mypassword");
>
> Although I can reach the database from the Linux command line with
>
> mysql -h serverpc.mydomain.com -myusername -p
>
> the code using TSQLServer gives me an error:
>
> Error in <TMySQLServer::TMySQLServer>: connection to database taq on
> serverpc.mydomain.com failed (error: Unknown MySQL Server Host
> 'serverpc.mydomain.com' (1))
> Error in <TMySQLServer::Query>: not connected
>
> Has anybody seen anything like this before? As a possible hint,
> despite the documentation to the contrary, the pointer "serv" does NOT
> return 0. (Forgive me for concealing the actual name of the serverpc
> with the generic substitute name.)
>
> - John
>
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET