티스토리 뷰

Database

mysql id & db 생성

drake_kr drake_kr 2016.11.22 17:36

CREATE USER 'id'@'localhost' IDENTIFIED VIA mysql_native_password USING 'pass';

GRANT USAGE ON *.* TO 'id'@'localhost';

CREATE DATABASE IF NOT EXISTS `id`;

GRANT ALL PRIVILEGES ON `id`.* TO 'id'@'localhost';

댓글
댓글쓰기 폼