Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-3527

OpenMRS installation wizard gives an error that "User account openmrs_user does not work"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: OpenMRS 1.5.0
    • Component/s: Installation Wizard
    • Labels:
      None

      Description

      On initial setup, the wizard tool gives an error.

      Full error text:
      User account openmrs_user does not work. Could not create connection to database server. Attempted reconnect 3 times. Giving up. See the error log for more details.

      It also shows:

      Tasks completed so far:

      • Created database openmrs
      • Created user openmrs_user
      • Granted user openmrs_user all privileges to database openmrs

      Tomcat error:
      WARN - InitializationFilter.verifyConnection(574) |2009-02-14 13:07:13,515| Erro
      r while checking the connection user account
      com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not
      create connection to database server. Attempted reconnect 3 times. Giving up.
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
      orAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
      onstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
      at com.mysql.jdbc.Util.getInstance(Util.java:381)
      at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984)
      at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
      at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926)
      at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2270)
      at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:723)
      at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
      orAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
      onstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
      at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
      at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
      :282)
      at java.sql.DriverManager.getConnection(DriverManager.java:582)
      at java.sql.DriverManager.getConnection(DriverManager.java:185)
      at org.openmrs.web.filter.initialization.InitializationFilter.verifyConn
      ection(InitializationFilter.java:567)
      at org.openmrs.web.filter.initialization.InitializationFilter.doPost(Ini
      tializationFilter.java:447)
      at org.openmrs.web.filter.initialization.InitializationFilter.doFilter(I
      nitializationFilter.java:149)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:109)
      ...

        Attachments

          Activity

            People

            Assignee:
            wchoi William Choi [X] (Inactive)
            Reporter:
            wchoi William Choi [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: