Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to check MySQL ODBC connection status?
Message
 
 
À
22/09/2009 04:23:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MySQL
Application:
Desktop
Divers
Thread ID:
01425546
Message ID:
01425564
Vues:
68
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform