Works for me.
CattleRustler, I think you should write an example code in your instruction doc and say they should download MySQL ODBC driver.
My example based on something sum1else wrote on the forums previously....
REM Project: db_test
REM Created: 24/05/2007 23:05:45
REM
REM ***** Main Source File *****
REM
MySQL_Init
result = mysql_setconnection ("DRIVER={MySQL ODBC 3.51 Driver};server=yourserver;uid=yourid;pwd=yourpasswd;database=yourdb")
if result=1
print "Connection Successful"
else
print "Connection Failed"
endif
`RUN THIS ONCE TO ADD AN ACCOUNT
rem add$="INSERT INTO account (username, password) VALUES ('test', 'password' ) "
rem addcheck=mysql_runstatement(add$)
rem print addcheck
input "Username: ",nick$
input "Password: ",pass$
login$="SELECT count(username) FROM account WHERE username = '" + nick$ + "' AND password = '" + pass$ + "'"
print login$
logincheck=mysql_runstatement(login$)
loginverify$=MySQL_GetWholeRow(0,"")
print loginverify$
wait key