기본 콘텐츠로 건너뛰기

mysql create a new schema and add a new user


0. mysql -u root mysql -p

1. create database xxxx DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

2. create user '****'@'localhost' identified by '****';
    create user '****'@'%' identified by '****';

3. grant all privileges on xxxx.* to ****@'%'
    grant all privileges on xxxx.* to ****@'localhost';

댓글

이 블로그의 인기 게시물

Picasso vs Glide in Android

I started a new project with Picasso first, but had a problem with the orientation of photos. Picasso didn't display a photo properly according to it's orientation. So I changed to Glide which solve the problem. Use 'Glide' if you want to be safe about photo's orientation,