일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
- apache mod rewrite
- (using password: YES)" when trying to connect
- html pdf 변환
- mysql root 비밀번호 변경
- httpd.conf 보안 설정
- mysqldump: Got error: 1045
- PHP 정규식 예제
- svn 충돌 해결 resolve
- 비밀번호검증정규식
- libxrender1
- wkhtmltopdf 실행 오류
- 구글 OTP 인증
- javascript
- modsecurity 설치
- apple push notification service (apns) is changing
- PHP 구글 OTP 인증
- usb efi 시스템 파티션 삭제
- bootstrap modal
- sha-2 root
- 자바스크립트비밀번호검증
- svn 충돌 해결 resolved
- 아파치 웹 서버의 정보 숨기기
- bootstrap
- mariadb upgrade
- 파라미터 & 오류
- php 배열제거
- PHP 구글 OTP 연동
- group_concat 구분자
- 우분투 mysql 비밀번호 없이 로그인 될때
- 비밀번호정규식
- Today
- Total
투덜이 개발자
CentOS 7 MariaDB Install 본문
# CentOS 7 MariaDB Install
# 참고 : https://ansan-survivor.tistory.com/1185
## MariaDB를 새로 설치할때, 기존의 것과 충돌 방지를 위해 삭제명령을 한번 해주면 좋다.
#1. sudo 명령으로 mariadb 라이브러리 제거 명령
sudo yum -y remove mariadb-libs
#2. 제거 후 완전히 제거되었나 확인하기 (아무것도 뜨지 않으면 완전히 제거 된 것.)
rpm -qa | grep -i mariadb
## MariaDB를 새로 설치
#1. yum update 및 upgrade하기
sudo yum update
sudo yum upgrade
# 2. MariaDB 설치 (최신버전으로 설치된다)
sudo yum -y install mariadb-server
# 3. 잘 설치되었나 확인
rpm -qa | grep -i mariadb
#4. MariaDB 서비스 가동
sudo systemctl start mariadb
#5. MariaDB 접속확인 후 닫기
mysql
exit
#6. 시작시 자동 실행 등록
sudo systemctl enable mariadb
# 7. MySQL 방화벽 개방
firewall-cmd --permanent --add-service=mysql
firewall-cmd --reload
## <옵션>
# 1. 루트 패스워드 변경
/usr/bin/mysqladmin -u root password
https://blog.servis.co.kr/index.php/2020/03/25/mariadb-upgrade/
MariaDB 업그레이드 (MariaDB 10.0 에서 MariaDB 10.4)
MariaDB 업그레이드 MariaDB 10.0 에서 MariaDB 10.x MariaDB 버전확인 mysql -V mysql Ver 15.1 Distrib 10.0.38-MariaDB, for Linux (x86_64) using readline 5.1 MaridDB innodb_fast_shutdown을 0으로 설정 mysql -u root -p --execute="SET GLOBAL
blog.servis.co.kr
https://myhappyman.tistory.com/165
SQL 오류 (1558): Column count of mysql.proc is wrong. Expected 21, found 20. Created with MariaDB 100212, now running 100414.
mariaDB를 이번에 centOS에 올리고 개발서버로 세팅 도중 프로시저만 복원하려고 하면 에러가 발생하였다. 에러 메시지처럼 아래의 명령어를 통해 업그레이드 후 mariaDB를 재부팅하여 해결하였다. my
myhappyman.tistory.com
'DataBase > MySQL' 카테고리의 다른 글
CentOS 7 에 MariaDB 10 업데이트 (0) | 2023.02.22 |
---|---|
MySQL / MariaDB like와 in을 동시 사용 => regexp (0) | 2023.01.19 |
[Mysql] Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline. (0) | 2022.09.26 |
mysql 프로시저,함수 생성 권한 주기 (0) | 2022.09.13 |
MySQL이 my.cnf 파일 위치 확인 (0) | 2022.09.13 |