i have a MySQL database hosted at bluehost. i am developing using Delphi XE5 and MyDAC 8.2.5.
i have 3 machines sharing a wifi router to get to the internet. i have written a dozen or so applications that can connect to my bluehosted database without any problems.
i installed one of these applications on another remote computer that i have access to via GoToMyPC. it simply will not connect.
on this remote computer i can both ping the server as well as connect to the database through the bluehost cpanel phpMyAdmin. but i cannot get my application to connect.
i wrote a simple connection application with nothing but a button, a label a TMyConnection, and a TMyConnectDialog. on my 3 machines it allows me to connect; on the remote machine, it won't connect.
here's btn's click code (it's the only code in the application)
Code: Select all
if (MyConnection1.Connected) then
MyConnection1.Disconnect;
try
MyConnection1.Connect;
Label1.Caption := 'connected';
except on e:exception do
Label1.Caption := 'not connected: ' + e.Message;
end;
tia!
