<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://rwiki.repia.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://rwiki.repia.com/feed.php">
        <title>문제를 잘 정의하는 것은 문제를 절반 해결한 것이다. - 2023.12 wiki:database:mariadb</title>
        <description></description>
        <link>http://rwiki.repia.com/</link>
        <image rdf:resource="http://rwiki.repia.com/lib/tpl/mindthedark/images/favicon.ico" />
       <dc:date>2026-04-17T12:33:10+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://rwiki.repia.com/doku.php?id=wiki:database:mariadb:logging_my_cnf&amp;rev=1673603050&amp;do=diff"/>
                <rdf:li rdf:resource="http://rwiki.repia.com/doku.php?id=wiki:database:mariadb:mysql_note&amp;rev=1673603050&amp;do=diff"/>
                <rdf:li rdf:resource="http://rwiki.repia.com/doku.php?id=wiki:database:mariadb:troubleshooting&amp;rev=1673603050&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://rwiki.repia.com/lib/tpl/mindthedark/images/favicon.ico">
        <title>문제를 잘 정의하는 것은 문제를 절반 해결한 것이다. - 2023.12</title>
        <link>http://rwiki.repia.com/</link>
        <url>http://rwiki.repia.com/lib/tpl/mindthedark/images/favicon.ico</url>
    </image>
    <item rdf:about="http://rwiki.repia.com/doku.php?id=wiki:database:mariadb:logging_my_cnf&amp;rev=1673603050&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-01-13T18:44:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>wiki:database:mariadb:logging_my_cnf</title>
        <link>http://rwiki.repia.com/doku.php?id=wiki:database:mariadb:logging_my_cnf&amp;rev=1673603050&amp;do=diff</link>
        <description>SVN

	*  description : mariaDB log 파일 설정 관련 내용
	*  author      : 도봉산핵주먹
	*  email       : hylee@repia.com
	*  lastupdate  : 2020-05-21

mariaDB

/etc/my.cnf 파일을 수정해야한다.


[mysqld]
# error  log 위치
log-error=/data/search/REKMS/logs/db/error.log
log_warnings = 0
# log_error_verbosity = 1
# 1(errors only), 2(errors, warnings), 3(errors, warning, notes)

# general log 설정 및 위치
general_log=1
general_log_file=/data/search/REKMS/logs/db/mysql_history.log

# slow, long query 설정
slow-query-log = 1         …</description>
    </item>
    <item rdf:about="http://rwiki.repia.com/doku.php?id=wiki:database:mariadb:mysql_note&amp;rev=1673603050&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-01-13T18:44:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>wiki:database:mariadb:mysql_note</title>
        <link>http://rwiki.repia.com/doku.php?id=wiki:database:mariadb:mysql_note&amp;rev=1673603050&amp;do=diff</link>
        <description>MySQL Note

	* INSERT...SELECT Statement</description>
    </item>
    <item rdf:about="http://rwiki.repia.com/doku.php?id=wiki:database:mariadb:troubleshooting&amp;rev=1673603050&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-01-13T18:44:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>wiki:database:mariadb:troubleshooting</title>
        <link>http://rwiki.repia.com/doku.php?id=wiki:database:mariadb:troubleshooting&amp;rev=1673603050&amp;do=diff</link>
        <description>Trouble Shooting

TimeZone error

JAVA에서 MySQL 혹은 MariaDB 서버에 연결시 다음과 같은 에러가 발생 할 수 있다.


### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException:

  Failed to obtain JDBC Connection; nested exception is java.sql.SQLException:

  Cannot create PoolableConnectionFactory (The server time zone value xxxxx is unrecognized or represents more than one time zone.

  You must configure either the server or JDBC driver (via the serverTimezone configuration property)

  to use a more specifc …</description>
    </item>
</rdf:RDF>
