Delphi and mysql - Unable to connent to server..maybe custom connection reqd

Posted by Steve on Stack Overflow See other posts from Stack Overflow or by Steve
Published on 2010-04-07T18:49:21Z Indexed on 2010/04/07 18:53 UTC
Read the original article Hit count: 147

Filed under:
|

I am coding an application for my company wherein i want to parse the results of a mysql query and display them in my application but i am facing a problem conecting to the database.

the ip address of the server is : 172.30.192.20 and before i can ping it i have to add route on my pc something like this

route add 172.30.192.0 mask 255.255.255.0 172.30.192.56

where 172.30.192.56 is the gateway

Now whenever i try to connect 172.30.192.20 which is where the sql server is running my appplication instead connects to 172.30.192.56

i am coding the application in delphi and have used TmySQL

After this didnt workout i tried an application called SQLwave. I just entered the server ip address and was able to connect to the database without any problems. it seems sqlwave uses mydac which is why even i tried using it but using the default connection options and setting i was still not able to connect. it seems sqlwave uses a custom connection using mydac

i just want to know whats going wrong with my connection

© Stack Overflow or respective owner

Related posts about delphi

Related posts about mysql