apollo89 요즘 읽고 있는 책
프로그래머의 길,멘토에게 묻다
데이브 후버,애디웨일 오시나이 공저/강중빈 역
프로그래머 그 다음 이야기
임백준 등저
대규모 서비스를 지탱하는 기술
이토 나오야,다나카 신지 공저
존 맥아더의 성경,이렇게 믿어라
존 맥아더 저
아이디어맨 Idea man
안진환 역/폴 앨런 저
예스24 | 애드온2

mysql 을 처음 설치하면 기본으로 root passwd 는 엔터이고
유저명이 없는 아이디도 존재한다.

보안상 user 명이 없는 유저는 삭제하고 root에도 비밀번호를 걸어줘야한다..

필요하다면 사용자를 추가해줘도 되고^^

~]$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 6 to server version: 5.0.26-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> \u mysql
Database changed
mysql> update user set Password=password('root비밀번호') where User ='root';
mysql> delete from user where User ='';
mysql> flush privileges;

─ tag  , ,
Trackback URL : http://apollo89.com/blog/trackback/92
openclose