[英]How can i fixed Connection Url for MySql server error in IJ
我在项目中有 Web、MySQL、Hibernet 和 JPA。 配置是这样的:
<hibernate-configuration> <session-factory>
<property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="hibernate.connection.url">jdbc:mysql://localhost:3306/springboot_hibernat</property>
<property name="hibernate.connection.username">root</property>
<property
name="hibernate.dialect">org.hibernate.dialect.MySQL5Dialect</property>
<property name="Hbm2ddl.auto">update</property>
<property name="show_sql">true</property> </session-factory> </hibernate-configuration>[enter image description here][1]
我在项目中有 Web、MySQL、Hibernet 和 JPA。 配置是这样的:
<hibernate-configuration> <session-factory>
<property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="hibernate.connection.url">jdbc:mysql://localhost:3306/springboot_hibernat</property>
<property name="hibernate.connection.username">root</property>
<property
name="hibernate.dialect">org.hibernate.dialect.MySQL5Dialect</property>
<property name="Hbm2ddl.auto">update</property>
<property name="show_sql">true</property> </session-factory> </hibernate-configuration>[enter image description here][1]
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.