ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • mysql 패스워드 변경
    컴퓨터 2008. 12. 25. 00:56
    ssh에 접속 한다
     
    mysql -u 유저아이디 -p 유저아이디
     
    라구 친다
     
    > ## 위처럼 mysql에 접속한후..
    > Reading table information for completion of table and column names
    >
    > You can turn off this feature to get a quicker startup with -A
    >
    > Welcome to the MySQL monitor. Commands end with ; or \g.
    >
    > Your MySQL connection id is 14891 to server version: 4.0.21-log
    >
    > Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
    >
    > mysql>
    >
    > 접속에 성공하면 아래와 같은 명령어를 적어 준다.
     
    SET PASSWORD = PASSWORD('원하는디비패스워드');
     
     
    ## 위 구문을 입력후 엔터 하시면 변경
     
    Query OK, 0 rows affected (0.00 sec)

    '컴퓨터' 카테고리의 다른 글

    SELinux 비활성화 방법  (0) 2008.12.25
    YUM으로 vsftpd 설치하기  (0) 2008.12.25
    YUM을 이용한 APM 설치  (0) 2008.12.25
    아파치 한글html 깨질때  (0) 2008.12.25
    리눅스 명령어 모음  (0) 2008.12.23
Designed by Tistory.