계정 생생
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h i-4351-22749-VM password 'new-password'
Alternatively you can run:
/usr/bin/mysql_secure_installation
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the manual for more instructions.
You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd /usr/mysql-test ; perl mysql-test-run.pl
========
권한 만들기
CREATE USER 'root'@'%' IDENTIFIED BY 'altvirus';
GRANT EXECUTE, PROCESS, SELECT, SHOW DATABASES, SHOW VIEW, ALTER, ALTER ROUTINE, CREATE, CREATE ROUTINE, CREATE TEMPORARY TABLES, CREATE VIEW, DELETE, DROP, EVENT, INDEX, INSERT, REFERENCES, TRIGGER, UPDATE, CREATE USER, FILE, LOCK TABLES, RELOAD, REPLICATION CLIENT, REPLICATION SLAVE, SHUTDOWN, SUPER ON *.* TO 'root'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;
========
권한 만들기
CREATE USER 'root'@'%' IDENTIFIED BY 'altvirus';
GRANT EXECUTE, PROCESS, SELECT, SHOW DATABASES, SHOW VIEW, ALTER, ALTER ROUTINE, CREATE, CREATE ROUTINE, CREATE TEMPORARY TABLES, CREATE VIEW, DELETE, DROP, EVENT, INDEX, INSERT, REFERENCES, TRIGGER, UPDATE, CREATE USER, FILE, LOCK TABLES, RELOAD, REPLICATION CLIENT, REPLICATION SLAVE, SHUTDOWN, SUPER ON *.* TO 'root'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;
'document' 카테고리의 다른 글
nodejs 기본 (0) | 2014.04.10 |
---|---|
Getting started with Neo4J on Windows (0) | 2014.03.19 |
Percona Xtrabackup을 사용해 핫 백업/리스토어 하기 (1) | 2013.08.13 |
여러가지 설치 (2) | 2012.09.12 |
nginx 설치 (0) | 2012.09.12 |
[리눅스] 파일 내 문자열 검색 (1) | 2012.08.25 |
mp4 변환 ffmpeg (2) | 2012.08.21 |
이미지 업로드 (2) | 2012.03.13 |
드롭박스 리눅스에 데몬으로 설치한 사용하기 (0) | 2011.12.31 |
Smooth Streaming Module for Apache (0) | 2011.11.23 |