Well, I solved the problem all by myself. The error was in the <property name="dialect">NHibernate.Dialect.MySqlDialect</property> tag of the App.config file. I copied this whole code from this
Brilliant(!) Article, and as a result, I was stuck at simple configuration for two days.......Phew, it is over now, what a relief :)
The correct syntax will be :
<property name="dialect">NHibernate.Dialect.MySQLDialect</property>
or
<property name="dialect">NHibernate.Dialect.MySQL5Dialect</property>, if you are using mysql 5
Have fun