728x90
--db 생성
create database db명;
--사용자 생성과 동시에 권한 주기
grant all privileges on db명.* to 사용자명@접속호스트명 identified by 'password' with grant option;
728x90
'mysql' 카테고리의 다른 글
mysql 5.7.6 기동 후 You must SET PASSWORD before executing this statement 메세지 처리 (0) | 2015.03.14 |
---|---|
centos mysql 기본 설치 버전 최초 실행 및 데이터위치 설정 (0) | 2015.03.09 |
mysql 비번까먹었을떄 최초 접속시 centos yum 설치 기준 (0) | 2015.02.10 |
mysql 숫자앞에 특정 자리수 까지 0 붙이기 (0) | 2013.09.10 |
aes 암호화 및 복호화 함수 (0) | 2013.09.08 |