.tar.gz 파일로 MariaDB를 세팅한 경우 아래 명령어를 이용할 수 없습니다.

 

시작
systemctl start mariadb

종료
Systemctl stop mariadb

재시작
systemctl restart mariadb

자동 재시작
systemctl enable mariadb

db 서버 세팅
/etc/my.cnf

파이썬에서 세팅
connection.execute('set max_allowed_packet=67108864')

+ Recent posts