title: Connecting HeidiSql with my application in Java
body: <p>I have this applcation which I want to run, but it cannot connect to its database. It is written using jHipster,Angular and java.</p>
  
  <p>I have this code to make the connection to the database:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code> &lt;driver&gt;com.mysql.jdbc.Driver&lt;/driver&gt;
                      &lt;url&gt;jdbc:mysql://11.333.34.65:3306/some_name&lt;/url&gt;
                      &lt;defaultSchemaName&gt;some_name&lt;/defaultSchemaName&gt;
                      &lt;username&gt;hello&lt;/username&gt;
                      &lt;password&gt;hello&lt;/password&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>The application work prfectly in another PC, so it has no problems, but in my PC cannot connect to the database.
  Now I downloaded HeidiSql as another option, and Heidi is actually connected to this database using the username and the pass provided above and hostIP.
  Even though Heidi is connected to the database, my aplication has the same result.
  I do this to execute the aplication :</p>
  
  <pre><code>yarn -clean install
  yarn webpack:build
  mvnw
  </code></pre>
  
  <p>And after some time the application appears in my localhost, but I cannot login that means that the database does not works. After this, I can´t see anyore the application, and in my cmd I see this error:
  <a href="https://i.stack.imgur.com/73VJH.png" rel="nofollow noreferrer">enter image description here</a></p>
  
  <p>I think that the only problem is with the database connection since I cannot login, and <code>AutoInmunidadMapper</code> exists in my app. Also the app works perfectly in other PC.
  What should I modify to this code to connect now my application to Heidi, since Heidi is connected to teh database.</p>