RE: Programming with C API question

2002-02-05 Thread Li, Robert
Hi, all MySQL team Thanks for your former help. Here is another question: As MySQL support multiple instances, each instance will run with different socket file and tcp/unix port number. I want to know when using MySQL client programs like mysqladmin to connect different instances, are both socke

Re: Programming with C API question

2001-10-31 Thread Sinisa Milivojevic
Li, Robert writes: > Hi, > I am a programmer. Now i want to know how to know > whether MySQL server is down or not through C API. > For me, i know if we use mysql_real_connect() to > connect MySQL server, when error returns we can not > distinguish it's due to authentation error or mysql server

Programming with C API question

2001-10-31 Thread Li, Robert
Hi, I am a programmer. Now i want to know how to know whether MySQL server is down or not through C API. For me, i know if we use mysql_real_connect() to connect MySQL server, when error returns we can not distinguish it's due to authentation error or mysql server down. Can we use mysql_error()