I have a program that will connect to mysql server ,
now how to do for this work?
What settings should I do on a mysql server?

Thank you for answer
but
My question is
whether the server to the client allowing the remote or to a specific Mysql server settings do?

Going with what i have heard from a mysql dev friend you require a .net mysql connetor installed. And then use the connection/command classes provided by it. maybe that is what you are missing? maybe i am wrong, cant gather much from the OP.