https://bugzilla.wikimedia.org/show_bug.cgi?id=23701

Paul Murphy <paul.mur...@glpg.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |paul.mur...@glpg.com
         Resolution|WORKSFORME                  |

--- Comment #3 from Paul Murphy <paul.mur...@glpg.com> 2010-11-05 10:48:06 UTC 
---
This error also happens for me when using MW 1.14.0, PHP 5.1.6, and MySQL
4.0.18-MAX

The issue is that the code in SMW_SQLHelpers.php, SMW_SQLStore2_Queries.php and
SMW_SQLStore2.php generates SQL which defines tables as "KEY AUTO_INCREMENT",
but this needs to be "PRIMARY KEY AUTO_INCREMENT" for the version of MySQL in
use.

I have patched my install with these changes, and both the Admin page interface
and running the SMW_setup.php directly now works.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to