Hai guys,
I use the following connection string
<add name="connectionString" connectionString="server=localhost;user id=root; password=; database=lms; pooling=false;" providerName="MySql.Data.MySqlClient"/>
It gives me the error There is no 'lms'@'%' registered.
My database server is localhost and the user account doesn’t have a password..
Here’s a working connection string for MySql:
Can you connect from the command line (using “mysql”)?
Is mysql by any chance bound to a different IP other than localhost (in my.ini)?
If you don’t have a password, have you tried leaving off
password=?If that doesn’t work, you may have to add a password….