Is it possible to connect to a my remote website's MySQL Database which holds a list of usernames and passwords, and if txtUsername.Text and txtPassword.Text matches the stored information, msgbox"Logged In" occurs?

Of course I will be doing something other than the msgbox, I've seen some stuff here at vbForums with MySQL, but it's all been local side. How can I do this remotely?