<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.logicaldoc.com/wiki/index.php?action=history&amp;feed=atom&amp;title=MySQL_Timezone</id>
	<title>MySQL Timezone - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.logicaldoc.com/wiki/index.php?action=history&amp;feed=atom&amp;title=MySQL_Timezone"/>
	<link rel="alternate" type="text/html" href="http://wiki.logicaldoc.com/wiki/index.php?title=MySQL_Timezone&amp;action=history"/>
	<updated>2026-05-14T12:45:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://wiki.logicaldoc.com/wiki/index.php?title=MySQL_Timezone&amp;diff=2900&amp;oldid=prev</id>
		<title>Car031: Created page with &quot;If you are using MySQL 8 or more recent, you probably have to explicitly define the server&#039;s timezone. The symptoms you may note are a &#039;Database not connected&#039; alert in the lo...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.logicaldoc.com/wiki/index.php?title=MySQL_Timezone&amp;diff=2900&amp;oldid=prev"/>
		<updated>2020-03-31T09:13:31Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;If you are using MySQL 8 or more recent, you probably have to explicitly define the server&amp;#039;s timezone. The symptoms you may note are a &amp;#039;Database not connected&amp;#039; alert in the lo...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;If you are using MySQL 8 or more recent, you probably have to explicitly define the server&amp;#039;s timezone.&lt;br /&gt;
The symptoms you may note are a &amp;#039;Database not connected&amp;#039; alert in the login screen and errors like &amp;#039;Unable to acquire JDBC Connection&amp;#039; in the logs.&lt;br /&gt;
&lt;br /&gt;
You can fix the issue by changing the database connection URL in LogicalDOC or by specifying the timezone in the MySQL configuration.&lt;br /&gt;
&lt;br /&gt;
== Change the database connection URL  ==&lt;br /&gt;
* Stop LogicalDOC&lt;br /&gt;
* Open the file &amp;lt;LDOC_HOME&amp;gt;/conf/context.properties&lt;br /&gt;
* Locate the setting jdbc.url and append the serverTimezone parameter(eg: jdbc.url=jdbc:mysql://localhost:3306/logicaldoc &amp;gt; jdbc.url=jdbc:mysql://localhost:3306/logicaldoc&amp;lt;b&amp;gt;?serverTimezone=UTC&amp;lt;/b&amp;gt;)&lt;br /&gt;
* Save and start LogicalDOC&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Change the MySQL configuration  ==&lt;br /&gt;
* Stop MySQL&lt;br /&gt;
* Locale the configuration file (in Linux it is normally in /etc/my.cnf; in Windows it is normally in c:\C:\ProgramData\MySQL\MySQL Server X.X\my.ini)&lt;br /&gt;
* Open it and find the section [mysqld], inside that section add the timezone specification eg: &amp;lt;b&amp;gt;default-time-zone=&amp;#039;+01:00&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
* Save and restart MySQL&lt;/div&gt;</summary>
		<author><name>Car031</name></author>
	</entry>
</feed>