Search results The results is only based on Apollo89.com
1 posts are related to '비밀번호'
  1. 2007/06/19 mysql default setting(Mysql 디폴트 설정)
mysql default setting(Mysql 디폴트 설정) posted on 2007/06/19 11:46, filed under Develop

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;

크리에이티브 커먼즈 라이센스
Creative Commons License
2007/06/19 11:46 2007/06/19 11:46


Total: 213285 (Today: 76, Yesterday: 81)

RSS
읽고 있는 책