View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008084CDashpublic2008-11-12 19:052008-11-13 10:11
ReporterDaniel Pfeifer 
Assigned ToJulien Jomier 
PrioritynormalSeverityblockReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version1.4 
Summary0008084: Database name cannot contain minus (-)
Description
For a database name like 'db12345-1' it says:

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 '-1' at line 1
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0014100)
Julien Jomier (manager)
2008-11-13 10:11

Fixed in SVN. Thanks for the report. If you are not using SVN you can replace the line 176 of install.php by

  if(!mysql_query("CREATE DATABASE IF NOT EXISTS `$CDASH_DB_NAME`"))

Adding the ` around $CDASH_DB_NAME.

 Issue History
Date Modified Username Field Change
2008-11-12 19:05 Daniel Pfeifer New Issue
2008-11-13 10:00 Julien Jomier Status new => assigned
2008-11-13 10:00 Julien Jomier Assigned To => Julien Jomier
2008-11-13 10:11 Julien Jomier Note Added: 0014100
2008-11-13 10:11 Julien Jomier Status assigned => closed
2008-11-13 10:11 Julien Jomier Resolution open => fixed
2008-11-13 10:11 Julien Jomier Fixed in Version => 1.4


Copyright © 2000 - 2018 MantisBT Team