텔넷으로 접속해서
mysql -uroot
mysql> use mysql;
Here’s an example of the output on my database, which is pretty much the default settings. Note that ubuntuserv is the hostname of my server.
Here’s an example of the output on my database, which is pretty much the default settings. Note that ubuntuserv is the hostname of my server.
mysql> use mysql;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> select host,user from user;
+—————+——————+
| host | user |
+—————+——————+
| ubuntuserv | root |
| localhost | debian-sys-maint |
| localhost | root |
+—————+——————+
3 rows in set (0.00 sec)
+—————+——————+
| host | user |
+—————+——————+
| ubuntuserv | root |
| localhost | debian-sys-maint |
| localhost | root |
+—————+——————+
3 rows in set (0.00 sec)
Now I’ll update the ubuntuserv host to use the wildcard, and then issue the command to reload the privilege tables. If you are running this command, substitute the hostname of your box for ubuntuserv.
mysql> update user set host='%' where user='디비계정아이디';
(이렇게 하면 200%해킹당함 ㅡㅡ)
mysql> update user set host='아이피나 localhost' where user='디비계정아이디';
(이렇게해야함)
mysql> flush privileges;
mysql> quit;
끝입니다
도움주신 불당님께 감사드립니다. ^^
[이 게시물은 관리자님에 의해 2011-10-31 17:27:00 MySQL에서 이동 됨]
댓글 7개
게시글 목록
| 번호 | 제목 |
|---|---|
| 11797 | |
| 11796 |
기타
Progress 로딩바
|
| 29161 |
HTML
체크박스 전체선택 소스
|
| 11795 | |
| 11794 | |
| 11793 | |
| 11789 | |
| 11784 | |
| 29160 | |
| 11781 |
Flash
도와주세요..
2
|
| 11778 |
PHP
SSL 관련 링크
2
|
| 24966 | |
| 24964 | |
| 24963 |
제안서
회사약식제안서_기타
|
| 24961 | |
| 24960 | |
| 24950 |
제안서
홈페이지개발제안서_개발
9
|
| 24948 | |
| 24947 | |
| 24946 | |
| 24945 | |
| 24944 |
계약서
표준임대차계약서_부동산
|
| 24943 | |
| 24942 | |
| 24941 | |
| 24940 | |
| 24939 | |
| 29158 | |
| 11777 |
MySQL
Logrotate
|
| 11774 |
JavaScript
startssl 자동실행
2
|
| 11772 | |
| 11771 | |
| 11770 |
MySQL
mysql error code
|
| 11769 |
MySQL
Mysql - ErrCode
|
| 11765 | |
| 11764 |
기타
날짜 맞추기
|
| 11763 | |
| 11758 | |
| 29148 |
HTML
괜찮은 레이어 팝업창 소스
9
|
| 11752 | |
| 11747 | |
| 11746 | |
| 29147 | |
| 11744 |
JavaScript
플래쉬 초보입니다...질문좀 ^^
1
|
| 11735 |
Flash
퀵메뉴 - 수정해서 쓰세요!^^
8
|
| 29145 | |
| 11733 |
기타
히든필드 처리하기
1
|
| 11731 |
JavaScript
경고창의 폰트 조절.....
1
|
| 11730 | |
| 24937 | |
| 11728 | |
| 11727 | |
| 11725 | |
| 11717 | |
| 29138 | |
| 11716 | |
| 11715 |
JavaScript
특정 프로세스가 연 파일 보기.
|
| 11714 | |
| 11711 |
기타
CS3 간단 리뷰
2
|
| 11710 |
Flash
플래시 파일명 대신 외부파일 호출
|
| 11708 |
Flash
플래시 파일명 대신 외부파일 호출
1
|
| 11700 |
MySQL
mysql 원격접속방법
7
현재글
|
| 11697 | |
| 24936 | |
| 24935 | |
| 24934 | |
| 24933 | |
| 24932 | |
| 24931 | |
| 24930 | |
| 24929 | |
| 24928 | |
| 24927 | |
| 24926 |
계약서
주식양수도계약서_경리
|
| 24925 | |
| 24922 |
제안서
제안서_기업일반
2
|
| 24921 |
계약서
전세계약서_일반계약
|
| 24920 |
계약서
전세계약서_부동산
|
| 24919 | |
| 24918 | |
| 24917 | |
| 24916 | |
| 24915 |
계약서
장비임대 계약서_영업
|
| 24914 | |
| 24913 | |
| 11696 |
기타
메뉴를 찾습니다
|
| 11694 | |
| 24912 | |
| 24911 | |
| 24910 | |
| 24909 | |
| 24908 | |
| 24907 | |
| 24906 | |
| 11692 | |
| 24905 | |
| 24904 | |
| 24903 | |
| 24902 |
계약서
연봉제근로계약서
|
| 24901 |
계약서
연봉계약서-근로_기타
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기