connect to mysql server using realbasic

Posted by Gbolahan on Stack Overflow See other posts from Stack Overflow or by Gbolahan
Published on 2010-06-05T11:45:52Z Indexed on 2010/06/05 11:52 UTC
Read the original article Hit count: 204

Filed under:
|

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

© Stack Overflow or respective owner

Related posts about mysql

Related posts about realbasic