ADO.NET and MySql - Connection ERROR

Hi!

I try to connect with MySql (4.1.22) using ADO.NET (2.0).

OdbcConnection cn = new OdbcConnection("Driver={MySQL ODBC 3.51 Driver};Server=server.com;Database=base;Port=3306;uid=user;pwd=111;option=3");

cn.Open(); // And catch the exception here:

ERROR [HY000] [MySQL][ODBC 3.51 Driver]Access denied for user 'user'@'%' to database 'base'

What's wrong? Please help me.
[450 byte] By [Vladimir2007] at [2007-11-20 11:46:21]