Hallo to all, I have a problem in connecting to MySQL Database on my VB Program. "Can't connect to MySQL Server on 'localhost' (10061)." This is the error I always receive, what seems to be the problem? can anyone help me?

I'm not any MySQL guru. I use MySQL ODBC and the connection string:
"DRIVER={MySQL ODBC 3.51 Driver}; SERVER=localhost; DATABASE=test; UID=root; PWD=XXXX;"

If the problem comes from the connection string and/or you're not using ODBC, see http://connectionstrings.com/mysql for proper connection strings.