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
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
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()