Gunner’s Workspace
  • Home
  • About

db

A collection of 3 posts
maria db

[mysql] 사용자 추가 생성

mysql 사용자 추가 생성 가끔식 하는데 항상 잊어버린다. 해서 기록을 위해 여기 글을 작성한다. 1. 유저 생성 create user 'userid'@'%' identified by 'password';   2. 유저에게 모든 권한 주기 grant all privileges on *.* to 'userid'@'%';   3. 유저에게 특정 DB 권한 주기
25 Jan 2017
centos

CentOS 7에 php7+Codeigniter(ciboard)+nginx 설치하기

ISO 파일 다운로드 http://ftp.daumkakao.com/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1511.iso * MariaDB 설치 * 어플 설치 $ sudo yum install -y mariadb mariadb-server * MariaDB 실행 $ sudo systemctl start mariadb * DB 초기 설정 $ sudo mysql_secure_installation mysql_secure_installation prompts: Enter current password for root (enter for none)
22 Jun 2016 2 min read
centos

MariaDB 설치 하기 for CentOS 6.4

MariaDB 설치 하기 for CentOS 6.4 mysql 버전이 5.1이어서 버전업을 마음먹었다. 그런데 5.6으로 올리느니 마리아DB로 갈아타고 싶어졌다. 자 마리아 DB를 설치하자. 1. 기존 mysql을 제거한다. yum remove mysql mysql-server 2. 기존 mysql 디렉토리를 제거한다. 여기서는 백업을 해뒀다. 워드프레스 db를 살릴려고~ cp -rf /var/lib/mysql /var/lib/
04 May 2015 1 min read
Page 1 of 1
Gunner’s Workspace © 2026
  • Sign up
Powered by Ghost