org.apache.manifoldcf.core.interfaces.ManifoldCFException

Error getting connection

Solutions on the web87

  • Error getting connection
  • via manifoldcf-user by Marc Emery, 9 months ago
    Error getting connection
  • Error getting connection: Access denied for user 'root'@'%' to database 'mysql'
  • Stack trace

    • org.apache.manifoldcf.core.interfaces.ManifoldCFException: Error getting connection at org.apache.manifoldcf.core.database.ConnectionFactory.getConnection(ConnectionFactory.java:106) at org.apache.manifoldcf.core.database.Database.executeUncachedQuery(Database.java:721) at org.apache.manifoldcf.core.database.Database$QueryCacheExecutor.create(Database.java:1393) at org.apache.manifoldcf.core.cachemanager.CacheManager.findObjectsAndExecute(CacheManager.java:144) at org.apache.manifoldcf.core.database.Database.executeQuery(Database.java:185) at org.apache.manifoldcf.core.database.DBInterfacePostgreSQL.createUserAndDatabase(DBInterfacePostgreSQL.java:524) at org.apache.manifoldcf.core.system.ManifoldCF.createSystemDatabase(ManifoldCF.java:698) at org.apache.manifoldcf.crawler.system.ManifoldCF.createSystemDatabase(ManifoldCF.java:123) at org.apache.manifoldcf.crawler.InitializeAndRegister.doExecute(InitializeAndRegister.java:37) at org.apache.manifoldcf.crawler.InitializeAndRegister.main(InitializeAndRegister.java:60) Caused by: org.postgresql.util.PSQLException: FATAL: no PostgreSQL user name specified in startup packet at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:293) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:108) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66) at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:125) at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30) at org.postgresql.jdbc3.Jdbc3Connection.<init>(Jdbc3Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:393)

    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

    481 times, 1 week ago
    4 times, 3 months ago
    10 times, 4 months ago
    3 times, 8 months ago
    Unknown user
    Once, 10 months ago
    21 more bugmates