Package: mantis
Version: 0.19.2-4.1

While trying to install mantis on Debian stable, the package failed to create the MySQL database. MySQL reports a syntax error.

Permissions for MySQL root user are OK, that should not be the problem. The password for Mantis database owner is generated by the package scripts.

I'm using MySQL version 4.0.24-10sarge1 and php version 4:4.3.10-16.


Here is the output from apt-get:

julia:/home/tarmo# apt-get install mantis
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  mantis
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/895kB of archives.
After unpacking 4755kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package mantis.
(Reading database ... 117906 files and directories currently installed.)
Unpacking mantis (from .../mantis_0.19.2-4.1_all.deb) ...
Setting up mantis (0.19.2-4.1) ...
I: Using database password from Debconf.
I: Creating database user 'mantis'
I: User created.
I: Adding database 'bugtracker-mantis'
ERROR 1064 at line 1: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '-mantis' at line 1
E: Could not create database: Unable to run the create database script.
I: creating /etc/mantis/config.php
I: Restarting webservers: apache2

--
Best wishes,
Tarmo Kuuse


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to