connect to mysql server using realbasic
- by Gbolahan
Hello,
tried connecting to mysql server in realbasic using the folowing code:
dim db as MySQLCommunityServer
db=New MySQLCommunityServer
db.host="192.168.240.129"
db.port=3306
db.databaseName="test"
db.userName="test"
db.Password="test"
If db.Connect() then
txt1.Text = "Connected"
else
txt1.Text = "Connection failed!"+ chr(13)+db.ErrorMessage
end if
and i get the following message
connection failed!
any suggestions..
Thanks