Hello all,
Ì am new at Base and trying to install it on a Mac OS 10.6 server.
Looking in the mailing list archives did not bring me any helping information,
Mac OS does not appear often.
Therefore I submit you my problem.
After downloading and unpacking Base, setting Apache, MySQL, TomCat, and
configuring Base I reached the step of the database initialization with the
instruction :
./initdb.sh [base_root_login] base_root_password
Below is what I get in return on my terminal. I am using the Base root login
and password defined in MySQL but it looks like it is not recognized.
Is there anyone having faced such problem in similar configuration or having
suggestion
Thank in advance for your help
Laurent
[0%]--System information-
BASE : 3.2.2(build 6266)
Database :
jdbc:mysql://localhost/base2?characterEncoding=UTF-8useCursorFetch=truedefaultFetchSize=100useServerPrepStmts=true
Dialect : org.hibernate.dialect.MySQL5InnoDBDialect
JDBC : com.mysql.jdbc.Driver; version 5.1
Java : Java(TM) SE Runtime Environment; 1.6.0_51-b11-457-10M4509; Apple Inc.
OS : Mac OS X; x86_64; 10.6.8
-15:18:17,129 WARN
ThreadPoolAsynchronousRunner:608 -
com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@7578a7d9 --
APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!
15:18:17,134 WARN ThreadPoolAsynchronousRunner:624 -
com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@7578a7d9 --
APPARENT DEADLOCK!!! Complete Status:
Managed Threads: 3
Active Threads: 3
Active Tasks:
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@6dabbec4
(com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@26796e1c
(com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@6e2c03ff
(com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2)
Pending Tasks:
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@bba92db
Pool thread stack traces:
Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1,5,main]
java.lang.Thread.sleep(Native Method)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0,5,main]
java.lang.Thread.sleep(Native Method)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2,5,main]
java.lang.Thread.sleep(Native Method)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
15:18:26,686 WARN BasicResourcePool:1841 -
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@6dabbec4 --
Acquisition Attempt Failed!!! Clearing pending acquires. While trying to
acquire a needed new resource, we failed to succeed more than the maximum
number of allowed acquisition attempts (30). Last acquisition attempt
exception:
java.sql.SQLException: Access denied for user 'base2user'@'localhost' (using
password: YES)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1078)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4190)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4122)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:927)
at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4689)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1304)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2486)
at
com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2519)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2304)
at com.mysql.jdbc.ConnectionImpl.init(ConnectionImpl.java:834)
at com.mysql.jdbc.JDBC4Connection.init(JDBC4Connection.java:47)
at sun.reflect.GeneratedConstructorAccessor11.newInstance(Unknown
Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at