Ol�� estou enfrentando o seguinte problema ao configurar o Jforum.
Bem estou recebendo a seguinte mensagem de erro quando termino o Wizard de configura̤̣o.
Recebo a seguinte mensagem do Wizard
"java.sql.SQLException: Server connection failure during transaction. Due to underlying exception: 'java.sql.SQLException: null, message from server: "Host 'localhost.localdomain' is not allowed to connect to this MySQL server"'
Ṇo consigo achar o que estou fazendo de errado. Ja chequei os arquivos na ṃo e aparentemente esta tudo correto. Consigo acessar o banco com o mesmo usu��rio e senha que tenho na configura̤̣o do jforum.
Estou usando o Ubuntu 5.10 o MySQL 4.0.24 o Apache 2.0
Tomcat 5.5.16 e SDK 1.5.0.06.
O log completo ̩ este
=========================================
java.sql.SQLException: Server connection failure during transaction. Due to underlying exception: 'java.sql.SQLException: null, message from server: "Host 'localhost.localdomain' is not allowed to connect to this MySQL server"'.
** BEGIN NESTED EXCEPTION **
java.sql.SQLException
MESSAGE: null, message from server: "Host 'localhost.localdomain' is not allowed to connect to this MySQL server"
STACKTRACE:
java.sql.SQLException: null, message from server: "Host 'localhost.localdomain' is not allowed to connect to this MySQL server"
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:991)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2683)
at com.mysql.jdbc.Connection.<init>(Connection.java:1485)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:193)
at net.jforum.SimpleConnection.getConnection(SimpleConnection.java:93)
at net.jforum.SimpleConnection.init(SimpleConnection.java:74)
at net.jforum.view.install.InstallAction.configureDatabase(InstallAction.java:562)
at net.jforum.view.install.InstallAction.doInstall(InstallAction.java:150)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at net.jforum.Command.process(Command.java:116)
at net.jforum.view.install.InstallAction.process(InstallAction.java:726)
at net.jforum.InstallServlet.service(InstallServlet.java:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at net.jforum.util.legacy.clickstream.ClickstreamFilter.doFilter(ClickstreamFilter.java:59)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
** END NESTED EXCEPTION **
Attempted reconnect 3 times. Giving up.
===============================================
Desculpe- me esta duvida j�� foi respondida, mas ṇo consegui encontrar nada relacionado a isso.
Obrigado
Edu Lima
[originally posted on jforum.net by goldflex]