Skip to content

조회 수 7216 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
mysql root 계정 재생성


/usr/local/mysql/bin/mysqld_safe --skip-grant-tables &

> use mysql;
> delete from user where User='root';
> insert into `user` VALUES ('localhost','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y',
'Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0);
> update user set password=password('mysql root 패스워드') where user='root';
> flush privileges;
> exit

killall mysqld
/etc/init.d/mysqld start


List of Articles
번호 제목 글쓴이 날짜 조회 수
66 MySQL Error 2006 : MySQL server has gone away 해결하기 l2zeo 2010.03.08 12635
65 Mysql InnoDB 관리하기 ADMINPLAY 2009.07.31 11476
64 mysql innodb 설정확인 ADMINPLAY 2009.06.17 16646
63 MySQL max connection 값 변경 1 ADMINPLAY 2009.03.09 9731
62 Mysql max_connection 늘리기 ADMINPLAY 2008.11.11 8283
61 mysql old_password 문제 ADMINPLAY 2010.06.19 18490
60 MySQL Replication ADMINPLAY 2009.11.19 8121
59 Mysql Replication(Master, Slave) 설정 ADMINPLAY 2009.11.19 9758
58 MySQL Replication(복제) ADMINPLAY 2009.11.19 7827
» mysql root에 아무권한이 없어 작업이 불가능한 경우 ADMINPLAY 2008.11.11 7216
56 MySQL Table 복구 - Got error 127 from storage engine ADMINPLAY 2009.06.17 8693
55 mysql 다중 서버 관리 ADMINPLAY 2012.12.17 17310
54 MySQL 데이터 정리후에도 용량변동이 없을 경우 ADMINPLAY 2009.12.31 8683
53 MySQL 데이터베이스의 생성과 삭제 ADMINPLAY 2008.10.30 7694
52 MySQL 명령어 정리 1 l2zeo 2010.03.08 10239
51 mysql 백업 ADMINPLAY 2009.07.25 8612
50 mysql 버전 3.23.58 (4.0.X)설치 가 안되서 그러는데 ADMINPLAY 2009.07.14 6915
49 Mysql 버전별 케릭터셋 지원여부 (euckr / utf-8) ADMINPLAY 2008.11.04 7861
48 Mysql 버전확인 ADMINPLAY 2008.12.23 9904
47 Mysql 비번 변경/비번분실시 ADMINPLAY 2009.06.29 7916
Board Pagination Prev 1 2 3 4 5 Next
/ 5

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234