Database

MySql 계정생성

기계식키보드 2012. 6. 6. 13:51

create database testdb character set utf8;

create user 'test'@'localhost' identified by 'test00';

grant all privileges on testdb.* to test@'%' identified by 'test00' with grant option;

FLUSH PRIVILEGES;


jdbc:mysql://127.0.0.1:3306/testdb?useUnicode=true&characterEncoding=utf8