Re: Unable to connect to any of the specified MySQL hosts [EntityException: The underlying provider failed on Open.]
Posted by: Santosh Kumar
Date: July 29, 2014 07:37AM

Thanks for Reply.
My connection string is as follow
<add name="DevSectorEntities" connectionString="metadata=res://*/DevSec.csdl|res://*/DevSec.ssdl|res://*/DevSec.msl;provider=MySql.Data.MySqlClient;provider connection string=&quot;server=myservername;user id=myuserid;password=mypassword;database=mydatabasename;&quot;" providerName="System.Data.EntityClient" />

i am working in a linux server. Some times error dosnt occurs and everything work properly.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.