[opencms-dev] installation problems: Access denied for user: '@localhost' to database 'opencms'
Michael Kenny
kenny at itopia.ch
Mon Aug 7 10:15:45 CEST 2000
After investing a lot of energy opencms seems now almost to be
working.......
The step 8. " Start your web server" fails . The OpenCms system is
available at
http://your.server/servlets/opencms/system/workplace/action/login.html.
when I do this I get:
-------------------------------------------
"Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request. "
-------------------------------------------
in the browser.
There is no dialog to log on as admin as expected....
-------------------------------------------
Here is the opencms log file....
[27.07.2000 14:23:19] <opencms_init>
[1023/440/583][OpenCmsServlet] logging started
[27.07.2000 14:23:19] <opencms_init>
[1023/439/584][OpenCmsServlet] property.driver =
org.gjt.mm.mysql.Driver
[27.07.2000 14:23:19] <opencms_init>
[1023/438/585][OpenCmsServlet] property.connectString =
jdbc:mysql://localhost:3306/opencms?user=root;password=<root password>
[27.07.2000 14:23:19] <opencms_init>
[1023/435/588][OpenCmsServlet] initializing opencms with initializer:
com.opencms.file.CmsInitMySqlCache
[27.07.2000 14:23:19] <opencms_init>
[1023/434/589][OpenCmsServlet] connecting to propertyDB via
org.gjt.mm.mysql.Driver
[27.07.2000 14:23:19] <opencms_init> [1023/432/591][OpenCms]
creating first cms-object
[27.07.2000 14:23:19] <opencms_init> [1023/431/592][OpenCms]
initializing the cms-object and the main resource-broker
[27.07.2000 14:23:19] <opencms_init> [1023/398/625][OpenCms]
[CmsAccessUserMySql]:General error: Access denied for user:
'@localhost' to database 'opencms'
[27.07.2000 14:23:19] <opencms_init> [1023/397/626][OpenCms]
initialize launchers...
[27.07.2000 14:23:19] <opencms_init>
[1023/395/628][CmsLauncherManager] launcher package
is:com.opencms.launcher
[27.07.2000 14:23:19] <opencms_init>
[1023/394/629][CmsLauncherManager] OpenCms? launcher "CmsXmlLauncher"
with launcher ID 3 loaded successfully.
[27.07.2000 14:23:19] <opencms_init>
[1023/391/632][CmsLauncherManager] OpenCms? launcher
"CmsDumpLauncher" with launcher ID 1 loaded successfully.
[27.07.2000 14:23:19] <opencms_init>
[1023/390/633][CmsLauncherManager] OpenCms? launcher
"CmsLinkLauncher" with launcher ID 4 loaded successfully.
[27.07.2000 14:23:19] <opencms_init>
[1023/383/640][CmsLauncherManager] OpenCms? launcher "CmsPdfLauncher"
not found. Ignoring.
Looking at the opencms.jar, CmsPdfLauncher doesn't seem to be
present. Is this the error?
The DB has a password set, could this be another reason for failure. I
set it in opencms.properties:property.connectString =
jdbc:mysql://localhost:3306/opencms?
user=root;password=<root password>
is there another place to set it to avoid what seems to be a mysql
error above....
All help appreciated.....
_____________________________________________
also as a tip, the installation text on the internet should be updated
or removed, it is different to the installation text in the
delivery......
java -mx64M -classpath opencms:jar:xerces.jar:mysql_uncomp.jar
assumes the jars are in your classpath and
opencms:jar is an error right?
Greetings - Michael
_____________________________________________
-
Michael Kenny
Web - http://www.muc.de/~kenny/
PGP - http://www.muc.de/~kenny/michael/michael%20kenny.asc
Zurich + 41 1 362 3811 Mobile +41 79 312 10 17
Munich + 49 89 121 625
More information about the opencms-dev
mailing list