Unable to connect using nhibernate
Posted by: Siva Prasad Nath
Date: December 14, 2017 11:58AM

I am using nhibernate. I am getting error " Unable to connect to any of the specified MySQL hosts." when trying to connect to mysql.
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2" >
<session-factory name="nhbdemonew">
<property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
<property name="connection.driver_class">NHibernate.Driver.MySqlDataDriver</property>
<property name="connection.connection_string">
Database=wmis;Data Source=localhost;User Id=root;Password=Bliss@2170;
Protocol=memory;Old Guids=True;
<property name="dialect">NHibernate.Dialect.MySQL5Dialect</property>

Options: ReplyQuote

Written By
Unable to connect using nhibernate
December 14, 2017 11:58AM

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.