Hi,
I am trying to connect MySQL from .NET. I have installed MySQL properly. Also I have installed .NET connector. But I am getting error "Unable to connect Server".
Thanks,
VIkram
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
jitendra kumarPosted Feb 14, 2010, 2:40 AM
http://www.sqlstrings.com/mysql-asp.net-connection.htm
http://aspnet101.com/tutorials.aspx?id=39
Kirtan PatelPosted Feb 12, 2010, 11:30 PM
can you post your Connection string here ...?
VikramPosted Feb 12, 2010, 11:12 PM
I tried all option which you are given but still getting same error. Is there any other solution.
jitendra kumarPosted Feb 12, 2010, 2:31 AM
http://ziya.suzen.net/2009/01/mysql-high-volume-connection-issue-when.html
and see the given link where a lots of connectionstrings are given there for different database.
http://connectionstrings.com/
VikramPosted Feb 4, 2010, 4:53 AM
Actually Database is working fine and also I tried start and stop of MySQL Service. My problem is that I can not connect it from .NET. It gives MySQLException that "Unable to connect server".
Thanks
VIkram
Lalit MPosted Feb 4, 2010, 3:49 AM
service mysql stop
service mysql start
service mysql restart
You can also use the following.
/etc/init.d/mysql start
/etc/init.d/mysql stop