MARIADBERROR

MySQL server has gone away 에러 조치

By 블루오션 [BLUE OCEAN] | 2016년 11월 28일 | 
[ 에러 발생 ]MySQL server has gone away [ 조치 사항 ]생각보다 충분히 증가시켜야 한다. 1) 버퍼사이즈 증가(최대 물리 메모리의 70~80%까지 가능innodb_buffer_pool_size = 2G 2) 패킷버퍼 사이즈 조정max_allowed_packet = 1000M 3) 타임아웃 조정wait_timeout=720000interactive_timeout = 720000 [ 변경 사항 확인 ]SHOW ENGINE INNODB STATUS\Gshow global variables like '%timeout';

MariaDB 접속 에러

By 블루오션 [BLUE OCEAN] | 2016년 11월 1일 | 
[ DB접속 시 발생하는 에러(1) ]# mysql -uroot -h127.0.0.1 -p mysqlEnter password:ERROR 1275 (HY000): Server is running in --secure-auth mode, but 'root'@'127.0.0.1' has a password in the old format; please change the password to the new format# [ 조치 방법(1) ]MariaDB [mysql]> show variables like 'old_passwords';+---------------+-------+| Variable_name | Value |+---------------+-------+| old_passwords | O