5

I'm trying to make an application in RealBasic. I'm failing to create a connection with the remote server.

On XP (VirtualMachine):

Can't connect to MySQL server on 'xxx' (10060)

On the latest OS X:

Can't connect to MySQL server on 'xxx' (4)

However: HeidiSQL & Sequel Pro connect fine. Another self-made app in .NET connects fine. Yet everything seems to be firewall related if I Google.

The code, if it helps:

dim db as new MySQLCommunityServer
db.host = ""
db.port = 3306
db.databasename = "dbname"
db.username = "dbuser"
db.password = "dbpass"
if (db.connect = true) then MsgBox("Connected") else MsgBox(db.errormessage)
dda
  • 6,030
  • 2
  • 25
  • 34
krtek
  • 265
  • 5
  • 15

0 Answers0