| |
h0dg3s
Posts: 2
Score: 0
Joined: 7/19/2008
Status: offline
|
Can anyone tell me how to make a simple vbscript to run on the local machine and select one field from a table in a MySQL database running on a remote computer? All of the examples I see are either meant to have MySQL running on the local machine, or else are run through ASP.NET. Basically I want it to use the MAC address as criteria to pull the name the computer's supposed to have and renames it. I already know how to pull the MAC address and also rename the machine both with vbscript, it's just the database part that I need help with. Thanks in advance. Edit: as an afterthought, it would also help if in case it fails to read from the database, it waits a random amount of time between 1 and 60 seconds and tries again (in case the database gets overloaded)
< Message edited by h0dg3s -- 7/19/2008 1:01:58 PM >
|
|