IT 한길

지마켓에서 구매했습니다  너무 만족합니다.  
가격도 할인되서 저렴한거 같습니다. 불량 화소등은 없는거 같네요.
이전 모니터가 10년 정도 넘었는데 
바꾸고 나니 화면도 크고,색감도 좋고, QHD 화질도 정말 좋네요.
게임이나 영화 시청에도 좋을꺼 같습니다.
받침대도 튼튼하고, 스피커는 내장되어 있지 않지만 모니터 뒤에 스피커 연결하니 잘 나오네요.
이 상품 추천드립니다.

- 모델명 : S32DG500 (삼성전자 오디세이 G5)
- 색상 : BLACK
- 패널 : FAST IPS
- 해상도 : 2560 X 1440 (QHD)
- 응답속도 : 1ms
- 주사율 : 180Hz
- 밝기 : 350cd
- 무게 : 7.4kg (스탠드 포함)
- 주요기능 : HDR400/freesync/G-Sync compatible/피벗/높낮이/각도조절/스위블/플리커프리 등
- 구성품 : 모니터 본체/받침대/나사/설명서 등
 

 
 

-오류

Fatal error: The slave I/O thread stops because master and slave have equal MySQL server UUIDs; 
these UUIDs must be different for replication to work -

 

- auto.cnf 삭제 후 재기동

 

 

 

- plugin 조회

 SELECT Host,User,plugin,authentication_string FROM mysql.user where User ='root'\G


- User 변경

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'test';

- 소켓위치 찾기

  /mysql/bin/mysql_config --socket


- 심볼릭링크

  ln -s /mysql/mysql.sock /tmp/mysql.sock

openssl s_client -connect url:port | openssl x509 -noout -dates

TO_BASE64() :  Return the argument converted to a base-64 string

 

FROM_BASE64() : Decode base64 encoded string and return result

 

-----------------------------------------------------

1. SELECT TO_BASE64('abc') encodeStr, convert(FROM_BASE64(TO_BASE64('abc'))) decodeStr;

 

 

2. 로그인 mysql -uroot -p --skip-binary-as-hex

  SELECT TO_BASE64('abc') encodeStr, FROM_BASE64(TO_BASE64('abc')) decodeStr;

 

# audit list 조회 ========================
select
hex(a.goid) goid,
g.name node,
date_format(from_unixtime(a.time / 1000), '%Y-%m-%d %H:%i:%s.%f') time,
a.audit_level serverity,
a.name service,
a.message,
a.ip_address client_ip,
uncompress(b.request_zipxml) request, -- 옵션 사용중인 경우만
uncompress(b.response_zipxml) response -- 옵션 사용중인 경우만
from
  audit_main a
  left outer join audit_message b on a.goid = b.goid
  join cluster_info g on a.nodeid = g.nodeid
where
b.service_goid is not null -- 시스템,admin 로그 제외
and a.time > unix_timestamp('2022-02-17 11:38:57.274')*1000 -- 시작일시
and a.time < unix_timestamp('2022-02-17 11:48:57.274')*1000 -- 종료일시
-- and a.audit_level = 'WARNING'
-- and a.name like '%/openbanking/%' --api명
order by a.time desc;

 

# audit detail 조회 ========================
select
date_format(from_unixtime(a.time/1000),'%Y-%m-%d %H:%i:%s.%f') time,
a.message_id code,
case when b.position=1 then 'WARNING' else 'INFO' end Serverity,
b.value
from
  audit_detail a
  join audit_detail_params b on a.goid=b.audit_detail_goid
where hex(a.audit_goid)='85562EE4D72AA5EE2516C0D43F86EEFE' -- audit_main goid
order by a.time desc;

'IT > CA Gateway' 카테고리의 다른 글

[CA Gateway] Revision History 조회  (0) 2022.03.15

select a.name, b.version, date_format(from_unixtime(b.time/1000),'%Y-%m-%d %H:%i:%s.%f') time 
from policy a left outer join policy_version b
on a.goid = b.policy_goid
where a.name like '%API명'
order by b.version desc

'IT > CA Gateway' 카테고리의 다른 글

[CA Gateway] Audit 로그 조회  (0) 2022.03.15