View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 15676 | Bug reports | Installation | public | 2019-12-18 16:18 | 2020-01-13 15:42 |
| Reporter | ConnectingMedia | Assigned To | c_schmitz | ||
| Priority | none | Severity | minor | ||
| Status | closed | Resolution | no change required | ||
| Product Version | 3.21.2 | ||||
| Summary | 15676: Database name during installation does not accept names with dots. | ||||
| Description | When installing the CE version on step 4 it asks for database credentials. When entering a database name that contains a dot it complains that the name is invalid. | ||||
| Steps To Reproduce | Enter a database name with a dot during installation step 4. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | limesurvey3.21.2+191216 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Mozilla Firefox 71.0 (64-Bit) | ||||
| Database type & version | MariaDB 10.3.18-MariaDB-0+deb10u1 | ||||
| Server OS (if known) | Debian 10 | ||||
| Webserver software & version (if known) | nginx 1.14.2 | ||||
| PHP Version | 7.3.11-1~deb10u1 | ||||
|
This is because dots are used to demark a databasename from a tablename. A typical query would be like select column1 from database1.tablenameA A left join column2 from database2.tablenameB B on A.columnameA=B.columnameb This can be worked around with quotes but it is a world of hurt you don't want to enter voluntarily. |
|
|
So you mean to tell me they currently are not quoted throughout?!? And typically the database name should be irrelevant normal queries, as they are using only one database anyways. And that should be selected with the |
|
|
I am saying it is bad practice and I don't see a reason to support bad practice. |
|
|
Because MySQL supports it. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2019-12-18 16:18 | ConnectingMedia | New Issue | |
| 2020-01-10 15:58 | c_schmitz | Assigned To | => c_schmitz |
| 2020-01-10 15:58 | c_schmitz | Status | new => closed |
| 2020-01-10 15:58 | c_schmitz | Resolution | open => no change required |
| 2020-01-10 15:58 | c_schmitz | Note Added: 55203 | |
| 2020-01-13 08:47 | ConnectingMedia | Note Added: 55214 | |
| 2020-01-13 08:52 | c_schmitz | Note Added: 55215 | |
| 2020-01-13 15:42 | ConnectingMedia | Note Added: 55221 |