Link to home
Start Free TrialLog in
Avatar of MrTV
MrTVFlag for Thailand

asked on

C# read data from mysql that is not localhost

what is the best way to use c# to read data from website (data base is mysql) the host only allow to add mysql user from localhost

read only not write
SOLUTION
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Richard Davis
I don't mean to be rude, but since when does C# topics end up in a PHP category?
" when does C# topics end up in a PHP category? "

When they put it there.  Doesn't mean it was a good idea...  but we'll see.  Since the host is not allowing external access directly to the database, the asker may end up using Ray's suggestion for a web service based on PHP.
Avatar of MrTV

ASKER

Hi experts

I can use php on that server so if I use php to generate some thing that c# can read but I am not sure what I should do
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial