View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008444 | mantisbt | installation | public | 2007-10-04 07:14 | 2009-06-23 15:28 |
Reporter | dapozzom | Assigned To | grangeway | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.1.0rc1 | ||||
Fixed in Version | 1.2.0rc1 | ||||
Summary | 0008444: APPLICATION ERROR 0000401 | ||||
Description | During the installation process I received the attached message. Database query failed. Error received from database was #1193: Unknown system variable 'NAMES' for the query: SET NAMES UTF8 | ||||
Tags | No tags attached. | ||||
Which database server/version are you using? |
|
MySQL: 4.0.25 |
|
Then you need to upgrade that: it was decided that mantis 1.1 will require MySQL 4.1 in order to support, among other stuff, SET NAMES and nested queries. |
|
giallu, can you add the requirements file the docs folder. Also we need to update our check.php and install scripts to detect such cases for upgrades / new installations. |
|
I'm running mysql server 4.0.26
And this worked fine. Now, i've installed latest release, 1.1.0rc3 and i experienced the same error. I made the same changes and this seems to work perfectly too. Hope this can help. |
|
I find your solution quite... interesting: I wonder how your modifications magically made SET NAMES supported in MySQL 4.0. I think you just managed to skip the "SET NAMES" query, but your installation is doomed to break when it will run the nested queries we have now in the code. Ah, and of course strange things could also happen with UTF8 characters. |
|
Added a check to ensure mysql is at least version 4.1 |
|