vibhav patil vibhav patil -4 years ago 197
C# Question

Can anyone solve this issue? I cannot connect to local host "Xamarin" "C"

I followed one tutorial on how to connect to Mysql database. It connected to , But its refusing to connect to localhost.
Needed Help... enter image description here

Answer Source

What you are doing is, that you try to connect to the localhost on your phone. And there won't be any instance of MySql. A better and more recommended way is to abstract the database behind a webservice. Than you can easily communicate with that service inside your app.

Please read the Xamarin guide about webservices for further information on that topic.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download