java.net.UnknownHostException

localhost3306

Samebug tips1

This is a bug that happens in Slide in versions 4.2.0 and before. Update to 4.2.2 or further to fix it.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web711

  • via Unknown by Iuri Fanti,
  • Stack trace

    • java.net.UnknownHostException: localhost3306 at java.net.InetAddress.getAllByName0(InetAddress.java:1215) at java.net.InetAddress.getAllByName(InetAddress.java:1127) at java.net.InetAddress.getAllByName(InetAddress.java:1063) at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:163) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:267) at com.mysql.jdbc.Connection.createNewIO(Connection.java:2739) at com.mysql.jdbc.Connection.<init>(Connection.java:1553) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266) at java.sql.DriverManager.getConnection(DriverManager.java:579) at java.sql.DriverManager.getConnection(DriverManager.java:190) at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:133) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1472) at SudentTest.main(SudentTest.java:15)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    esaaresaar
    20 times, last one
    Andreas HäberAndreas Häber
    Once,
    raytestraytest
    3 times, last one
    Михайло ТітовМихайло Тітов
    465 times, last one
    Unknown UserUnknown User
    2 times, last one
    114 more bugmates