Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to check MySQL ODBC connection status?
Message
 
 
To
22/09/2009 04:23:35
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MySQL
Application:
Desktop
Miscellaneous
Thread ID:
01425546
Message ID:
01425564
Views:
69
>Hi Experts,
>
>I would like to show an indicator on my VFP Form that shows the connection status (online or offline) of its connection handle. So far, I have come across "mysql_ping" (for PHP). Any VFP function that can do such?
>

I would seriously consider the importance of this feature. Database connections are expensive. In general you want to be connected as little as possible -- connect, issue a SQL command, and disconnect. As far as I know that's no less true of MySQL than any other database.
Previous
Reply
Map
View

Click here to load this message in the networking platform