繁体   English   中英

如何修复 IJ 中 MySql 服务器错误的连接 Url

[英]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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM