Fixed
Details
Assignee
Michael OffnerMichael OffnerReporter
Julian HalliwellJulian HalliwellPriority
BlockerLabels
Fix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
NoneAffects versions
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Julian Halliwell
Julian HalliwellPriority
Labels
Fix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
None
Affects versions
Created 1 May 2017 at 17:00
Updated 12 May 2021 at 14:01
Resolved 22 May 2017 at 17:47
Defining a MySql datasource in Application.cfc as follows...
this.datasource = { type: "mysql" ,host: "localhost" ,port: 3306 ,database: "testdb" ,username: "dbuser" ,password: "secret" ,custom: { useUnicode:true } };
...fails with the following exception message:
Unknown database 'testdbuseunicodetrue'
If I add a question mark to the database name, it works correctly:
database: "testdb?"
It would seem the question mark isn't being added when constructing the connection string.