Difference between revisions of "MySQL"

From OpenKM Documentation
Jump to: navigation, search
m
Line 10: Line 10:
 
You need to modify your MySQL server configuration file and increase the value of the '''max_allowed_packet''' property. Don't forget to restart the MySQL after any change in this file. In Debian based distros like Ubuntu, this configuration file is located at ''/etc/mysql/my.cnf''.}}
 
You need to modify your MySQL server configuration file and increase the value of the '''max_allowed_packet''' property. Don't forget to restart the MySQL after any change in this file. In Debian based distros like Ubuntu, this configuration file is located at ''/etc/mysql/my.cnf''.}}
  
 +
* [[MySQL-OpenKM 5.1 | OpenKM 5.1]] [[File:Padlock.gif]]
 
* [[MySQL-OpenKM 5.0 | OpenKM 5.0]] [[File:Padlock.gif]]
 
* [[MySQL-OpenKM 5.0 | OpenKM 5.0]] [[File:Padlock.gif]]
 
* [[MySQL-OpenKM 4.1 | OpenKM 4.1]] [[File:Padlock.gif]]
 
* [[MySQL-OpenKM 4.1 | OpenKM 4.1]] [[File:Padlock.gif]]

Revision as of 18:21, 30 May 2011

Download MySQL JDBC driver from MySQL Home Page and move it to $JBOSS_HOME/server/default/lib.


Nota clasica.png If you get an error like this:
Packet for query is too large (1708726 > 1048576).
You can change this value on the server by setting the 'max_allowed_packet' variable.
You need to modify your MySQL server configuration file and increase the value of the max_allowed_packet property. Don't forget to restart the MySQL after any change in this file. In Debian based distros like Ubuntu, this configuration file is located at /etc/mysql/my.cnf.