반응형

Database - Mysql 7

Transaction Isolation 확인 및 변경

http://blog.naver.com/PostView.nhn?blogId=sjpotato&logNo=40210844379&parentCategoryNo=&categoryNo=7&viewDate=&isShowPopularPosts=true&from=search MySQL Transaction Isolation MySQL Transaction 확인 1. autocommit DB설정 확인 ( 기본이 true )확인 : SELECT @@AUT... blog.naver.com https://blog.naver.com/juner84/100190763625 [MySQL] innoDB transaction isolation level과 binlog enable 시 문제점 정리 innoDB transaction iso..

Database - Mysql 2020.09.10

MySQL 5.7 이상 group by 오류 해결방법

com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column '칼럼명' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by : group by 절에 포함되지 않은 칼럼(집계되지 않은 칼럼(nonaggregated column))을 select 절에서 뽑아올 경우, 어느 칼럼을 표시해야 할 지 몰라 exception 이 발생하는 현상이다. on..

Database - Mysql 2020.06.23

MariaDB - timezone 설정

2. 데이터베이스 서버에 default-time-zone 설정하기 my.ini 파일에 [mysqld] 섹션에 default-time-zone을 추가합니다. 아래는 KST 로 지정한 것입니다. [mysqld] default-time-zone='+9:00' default-time-zone='UTC' 형식으로 설정하면 에러가 발생합니다. MariaDB, MySQL 동일했습니다. UTC로 지정하기 위해서는 '+0:00' 또는 '-0:00' 으로 설정합니다. 그냥 '0:00' 으로 설정하면 안됩니다. my.ini 파일에서 설정하여 시간을 조회하면 정확히 설정된 타임존의 시간이 나옵니다. 출처: https://offbyone.tistory.com/318 [쉬고 싶은 개발자]

Database - Mysql 2020.06.02

MariaDB Galera Cluster

https://cirius.tistory.com/1766 MariaDB Galera Cluster-설치/셋팅 MariaDB Galera Cluster 설치/셋팅 Galera Cluster 를 이야기 하기전에 Synchronous vs Asynchronous 의 차이를 알아보자 Asynchronous 방식으로 대표적인 것이 Replication 이다. 모두 알고 있듯이 replication은.. cirius.tistory.com https://www.digitalocean.com/community/tutorials/how-to-configure-a-galera-cluster-with-mariadb-on-ubuntu-18-04-servers How To Configure a Galera Cluster wit..

Database - Mysql 2020.06.02
반응형