I am trying to connect to a remote mysql server. I have configured the server to accept my connection and such, but I need to know how! I tried using mIRC mySQL (its a dll) but it wouldn't run any queries without errors and was hard to use. My question is can i connect to a mysql server WITHOUT dlls? I thought sockets but i am very bad with them and also i don't know what to send to login and execute queries and such.

If anyone can help i will appriate it a LOT.