installer.pl having error - database name

I'm trying to reinstall. But when I call installer.pl from the browser, I get the following error in the logs: -- installer.pl: DBI connect('database=;host=localhost;','root',...) failed: Access denied for user 'root'@'localhost' -- The browser kicks back this error: -- Message: Can't connect to database, read comment! Traceback (2916): Module: Kernel::Output::HTML::Layout::Error (v1.176.2.17) Line: 1416 Module: Kernel::Output::HTML::Layout::ErrorScreen (v1.176.2.17) Line: 1395 Module: Kernel::Modules::Installer::Run (v1.58) Line: 221 Module: main::GenericModules (v1.31) Line: 130 Module: /opt/otrs/bin/cgi-bin/installer.pl (v1.31) Line: 91 -- Any ideas? I'm hoping to reinstall, since I lost my front end while modifying .dtl files.

hi, If you lost your frontend by modifying dtl files, just extract tar.gz sources in an other location and copy all dtl files in your otrs install dir (/opt/otrs, maybe). I think your mysql error come from mistake in database name or password for user root. Try to connect to your mysql database in command line to check param first. First, check if mysql server is running (/etc/init.d/mysql start) mysql -u root -p yourpassword use otrs (if you don't change otrs database name). Good luck Gregory Heffron a écrit :
I'm trying to reinstall. But when I call installer.pl from the browser, I get the following error in the logs:
--
/installer.pl: DBI connect('database=;host=localhost;','root',...) failed: Access denied for user 'root'@'localhost'/
--
The browser kicks back this error:
--
Message: Can't connect to database, read comment!
Traceback (2916): Module: Kernel::Output::HTML::Layout::Error (v1.176.2.17) Line: 1416 Module: Kernel::Output::HTML::Layout::ErrorScreen (v1.176.2.17) Line: 1395 Module: Kernel::Modules::Installer::Run (v1.58) Line: 221 Module: main::GenericModules (v1.31) Line: 130 Module: /opt/otrs/bin/cgi-bin/installer.pl (v1.31) Line: 91
--
Any ideas? I'm hoping to reinstall, since I lost my front end while modifying .dtl files.
------------------------------------------------------------------------
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
participants (2)
-
Gregory Heffron
-
Guillaume Rehm