Development Study/DB (4) 썸네일형 리스트형 [MariaDB] .리눅스 Centos7 - MariaDB 사용자 생성 MariaDB 사용자 생성 Syntax CREATE [OR REPLACE] USER [IF NOT EXISTS] user_specification [,user_specification ...] [REQUIRE {NONE | tls_option [[AND] tls_option ...] }] [WITH resource_option [resource_option ...] ] [password_option | lock_option] user_specification: username [authentication_option] authentication_option: IDENTIFIED BY 'password' | IDENTIFIED BY PASSWORD 'password_hash' .. [MariaDB] .리눅스 Centos7 -MariaDB port 변경 Port 변경 - 현재 port 확인 netstat -tnlp - 현재 port = 3306 - 설정 파일 열기 vi /etc/my.cnf.d/server.cnf - 마지막에 다음 문자 입력 [mysqld] port=3307 - 저장 하고 mariadb 다시 시작 :wq systemctl restart mariadb netstat -tnlp [MariaDB] . 리눅스 Centos7 - MariaDB 설치 MariaDB 설치 1. MariaDB 홈페이지 접속 2. MariaDB - Download - apt/yum 선택 3. 경로 확인 4. 설치 할 리눅스 환경 접속 wget을 사용 하여 download 주소 입력 wget https://downloads.mariadb.com/MariaDB/mariadb\_repo\_setup bash mariadb_repo_setup - mariadb.repo 확인 ls /etc/yum.repo.d/mariadb.repo - MariaDB 설치 yum install MariaDB - MariaDB 초기 설정 mysql_secure_installation mariadb 실행 mariadb -u root -p 비밀번호 입력 [mariaDB] 설치 https://mariadb.com/ Open Source Database (RDBMS) for the Enterprise | MariaDB MariaDB is an enterprise open source database solution for modern, mission-critical applications. Includes SkySQL, the MariaDB Cloud database-as-a-service. mariadb.com mariaDB 실행 확인 cmd 에서 mariaDB서치 폴더로 이동 C:\\ >cd C:\\Program Files\\MariaDB 10.5\\bin 비밀번호 입력 C:\\Program Files\\MariaDB 10.5\\bin> mariadb -uroot -p Ent.. 이전 1 다음