pessoal eu preciso descobrir onde está o erro nesse fonte ai, ja procurei bastante mas nada.
<?xml version="1.0" encoding="UTF-8"?> org.hibernate.dialect.MySQLDialect com.mysql.jdbc.Driver jdbc:mysql://localhost:3306/introhibernate root password true thread,/property>dddddddddddddddddddddddd
melojcley, este seu caso está bem diferente do que uso, tente usar este modelo, trocando apenas o driver pelo do mysql, pois neste caso estou usando oracle.
<?xml version="1.0" encoding="UTF-8"?>
<persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
<persistence-unit name="Portal" transaction-type="RESOURCE_LOCAL">
<class>com.br.model.Upload_File</class>
<properties>
<property name="hibernate.connection.username" value="user_name"/>
<property name="hibernate.connection.driver_class" value="oracle.jdbc.OracleDriver"/>
<property name="hibernate.connection.password" value="senha*"/> <!-- 172.21.36.45 -->
<property name="hibernate.connection.url" value="jdbc:oracle:thin:@maquina:porta:banco"/>
<property name="hibernate.dialect" value="org.hibernate.dialect.OracleDialect"/>
<!-- <property name="hibernate.cache.provider_class" value="org.hibernate.cache.NoCacheProvider"/>
<property name="hibernate.hbm2ddl.auto" value="update"/> -->
<property name="hibernate.format_sql" value="true" />
<!-- Configuração para não perder conexão -->
<property name="hibernate.c3p0.min_size" value="1"/>
<property name="hibernate.c3p0.max_size" value="5"/>
<property name="hibernate.c3p0.timeout" value="1800"/>
<property name="hibernate.c3p0.max_statements" value="50"/>
<property name="hibernate.c3p0.idle_test_period" value="3000"/>
<property name="hibernate.c3p0.acquire_increment" value="2"/>
</properties>
</persistence-unit>
</persistence>