Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. VincentMassol1 +XWiki.vmassol - Content
-
... ... @@ -1,5 +1,7 @@ 1 1 1 MySQL Installation 2 2 3 +1.1 Installation Steps 4 + 3 3 Follow these instructions: 4 4 5 5 * Download and install [MySQL>http://www.mysql.com/] ... ... @@ -31,3 +31,21 @@ 31 31 mysqld --console --max_allowed_packet=32M 32 32 {code} 33 33 36 +1.1 Troubleshooting 37 + 38 +1.1.1 Field 'XWD_ARCHIVE' doesn't have a default value 39 + 40 +If you get an error like the one below it probably means you had an old XWiki version installed which had a wrong schema. We're normally automatically fixing schemas at startup when you set the <tt>xwiki.store.hibernate.updateschema</tt> configuration parameter in <tt>xwiki.cfg</tt> (it's set to on by default). However it's currently not done for this error as we need to investigate it more. 41 + 42 +{code:none} 43 +Wrapped Exception: Could not execute JDBC batch update 44 +[...] 45 +Wrapped Exception: 46 +java.sql.BatchUpdateException: Field 'XWD_ARCHIVE' doesn't have a default value 47 +{code} 48 + 49 +To fix this run the following SQL command on your database: 50 + 51 +{code:sql} 52 +alter table xwikidoc modify column XWD_ARCHIVE mediumtext null; 53 +{code}