본문 바로가기

다른 DBMS/MySQL&MariaDB50

Oracle MySQL Connectors C++ and ODBC (January 2024 CPU) 관련 내용 및 패치하기 운영하는 DB에 아래와 같은 취약점 점검 메세지로 나왔습니다.관련된 내용에 대한 정리와 패치방법에 대해서 알아보겠습니다. 해당 내용은 2024년 1월의 Oracle Critical Patch Update Advisory 에서 나온 내용입니다. 특정 버전 이하의 관련 프로그램을 사용하면 위험하니 업데이트하라는 내용입니다. mysql의 버전은 8.0.36입니다.  rpm 파일들의 버전입니다.# rpm -qa |grep mysqlphp-mysqlnd-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64mysql-8.0.36-1.module+el8.9.0+21207+6c20cb3d.x86_64mysql-connector-odbc-8.0.33-1.el8.x86_64mysql-common.. 2024. 4. 30.
[server_errno=4052] Error reading packet from server: A slave with the same server_uuid/server_id as this slave has connected to the master 에러 메세지 아래의 에러메세지가 replication 환경의 slave 서버쪽에서 실시간으로 쌓이고 있었습니다. [ERROR] Error reading packet from server: A slave with the same server_uuid/server_id as this slave has connected to the master; the first event 'binlog.000011' at 54049840, the last event read from 'binlog.000011' at 256, the last byte read from 'binlog.000011' at 54049840. (server_errno=4052) 아래는 mariadb 사이트의 에러 번호 설명입니다. 이 슬레이브와 동.. 2024. 4. 22.
[MariaDB] EOS 날짜 (2024.04.08 기준) MariaDB Community Version은 Free이며 해당 제품을 기반으로 작성하였습니다. Stable Date는 해당버전의 안정화된 버전의 출시날짜이고, 유지보수 지원기간은 일반적으로 5년입니다. LTS버전의 경우 더 늘어날 수 있습니다. 현재 MariaDB의 Long Term Support(LTS)는 10.6과 10.11입니다. 이전버전의 LTS는 5.5였습니다. 출처는 mariadb의 사이트에서 정보를 가져와 정리하였습니다. 출처 : https://mariadb.org/about/#maintenance-policy (사이트에서는 EOS날짜가 월까지만 나와있는 경우 일자는 1일로 설정하였습니다.) Products Name Stable Date(GA) End Of Life MariaDB 5.1 .. 2024. 4. 8.
쿼리를 활용하여 Mysql Uptime 확인하기 쿼리를 활용하여 Update을 확인하는 글입니다. 1.Uptime 확인 show status 쿼리를 활용하여 Uptime을 확인합니다. 초형식으로 되어있으므로 가공이 필요합니다. show status like '%uptime%' Variable_name |Value | -------------------------+------+ Uptime |526090| Uptime_since_flush_status|526090| 2. sec_to_time 쿼리를 활용하여 open 후 현재까지 얼마나 지났는지 확인 select TIME_FORMAT(SEC_TO_TIME(526090 ),'%Hh %im') as Uptime from dual Uptime | --------+ 146h 19m| 끝. 2024. 4. 1.