BP Forums
Database error anyone help? - Printable Version

+- BP Forums (http://bpforums.info)
+-- Forum: Programming Discussion (http://bpforums.info/forumdisplay.php?fid=34)
+--- Forum: VB.NET (http://bpforums.info/forumdisplay.php?fid=43)
+--- Thread: Database error anyone help? (/showthread.php?tid=917)

Database error anyone help? - sc2142 - 01-24-2017

Im trying to connect my vb.NET Application to my database witch is on my website. Im getting this error: 

"An unhandled exception of type 'MySql.Data.MySqlClient.MySqlException' occurred in MySql.Data.dll 

Additional information: Unable to connect to any of the specified MySQL hosts." 

The error is being called on "sconnection.open()" 

Ive searched google and i cant find whats wrong. My site is through Hosting24. Code: http://pastebin.com/Gd4JCakQ