320x100
mysql root 암호 초기화
# service mysqld stop
# mysqld_safe --user=mysql --skip-grant-tables
# mysql -u root
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1100
Server version: 5.1.66 Source distribution
Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> use mysql;
mysql> update user set password=password('새로운암호입력') where user='root';
mysql> flush privileges;
mysql> quit
320x100
'Linux' 카테고리의 다른 글
Warning: World-writable config file '/etc/my.cnf' is ignored (0) | 2013.09.04 |
---|---|
가상화(vmware,virtualbox)에 centos 설치시 해상도 설정 (0) | 2013.09.03 |
리눅스 파일 및 폴더 삭제 못하게 하기(chattr, lsattr) (0) | 2013.08.28 |
virtualbox file type 변경하기(vdi,vmdk,vhd,hdd,qem,qcow) (0) | 2013.08.16 |
centos 6.4 svn 1.7.x 설치하기 (0) | 2013.08.14 |