This topic was split because it was not related to the other topic. This is not a database connection error.
You are trying to re-run the installer. Generally speaking, you shouldn't need to do that.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so. Need help?Before you ask
Ok I see but what I'm doing it to update my OTRS3.0.5 has OTRS3.0.6 why I run this script:
#!/bin/sh
service cron stop
service sendmail stop
service apache2 stop
cp -R /opt/otrs /opt/otrs.backup
mysqldump -h localhost -u <username> -p<password> otrs | bzip2 -c > otrs.sql.bz2
tar -xzf otrs-3.0.6.tar.gz
cp -R otrs-3.0.6/* /opt/otrs
cp /opt/otrs.backup/Kernel/Config.pm /opt/otrs/Kernel/Config.pm
cp /opt/otrs.backup/Kernel/Config/ZZZAuto.pm /opt/otrs/Kernel/Config/ZZZAuto.pm
cp /opt/otrs.backup/Kernel/Config/GenericAgent.pm /opt/otrs/Kernel/Config/GenericAgent.pm
/opt/otrs/bin/otrs.SetPermissions.pl --otrs-user=otrs --otrs-group=www-data --web-user=www-data --web-group=www-data /opt/otrs
/opt/otrs/bin/otrs.RebuildConfig.pl
/opt/otrs/bin/otrs.DeleteCache.pl
service cron start
service sendmail start
service apache2 start
when I enter http:// as ********.*****. com / otrs / index.pl
I have this fatal error
Time: 12:22:07 Tue 8 March 2011
Message: Access denied for user 'otrs' @ 'localhost' (using password: YES)
Traceback (2508):
Module: Kernel:: System:: DB:: new (v1.127) Line: 181
Module: Kernel:: System:: Web:: InterfaceAgent:: Run (v1.58.2.1) Line: 140
Module: / opt / stage / bin / cgi-bin / index.pl (v1.89) Line: 45
so I though that i might re-run the installer
And that means the password to connect to otrs db is invalid. Reverify your connection from the backup Config.pm
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so. Need help?Before you ask