푸

mysql 원격접속방법

· 2007-05-04 (금) 14:58:38 · 6113 · 7
텔넷으로 접속해서
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.
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
mysql> select host,user from user;
+—————+——————+
| 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개

2007-05-04 (금) 15:02:38
해킹 당하기 딱 좋네요. -_-;
그러면 200% 해킹 됩니다. host='접속하려는 ip 또는 hostname'이 들어가야 합니다.
2007-05-04 (금) 15:12:13
아 알겠습니다 ㅎㅎ 생큐생큐 ^^
2007-05-16 (수) 11:10:00
원격접속방법..멋집니다..
2007-06-10 (일) 17:55:41
음.. 제가 지금꺼 하게 해킹을 유도했네요 ㅡㅡ;;;
100%는 완벽하다는 말인데
200%는 무슨 뜻이지?
2007-09-06 (목) 09:21:39
아~이건 몰랐던 건데..좋은 정보 감사합니다.^^
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,188건
+
제목 글쓴이 날짜 조회
08-01-27 조회 3,807
08-01-26 조회 8,567
08-01-21 조회 3,320
08-01-08 조회 3,769
07-12-21 조회 4,709
07-12-14 조회 4,861
07-12-13 조회 6,308
07-12-10 조회 4,138
07-12-03 조회 3,254
07-12-03 조회 4,296
07-11-27 조회 5,791
07-11-26 조회 2,998
07-11-22 조회 5,116
07-11-21 조회 3,327
07-11-21 조회 1.1만
07-11-12 조회 4,073
07-11-07 조회 4,839
07-10-29 조회 3,586
07-10-25 조회 5,000
07-10-24 조회 3,793
07-10-23 조회 5,987
07-10-09 조회 4,148
07-10-09 조회 4,609
07-10-09 조회 3,208
07-10-09 조회 3,564
07-09-27 조회 3,865
07-09-27 조회 3,091
07-09-15 조회 4,018
07-09-13 조회 2,793
07-09-13 조회 3,255
07-08-07 조회 3,280
07-08-04 조회 3,427
07-07-30 조회 5,429
07-07-29 조회 3,791
07-07-29 조회 4,459
07-07-21 조회 3,109
07-07-20 조회 3,150
07-07-20 조회 4,325
07-07-07 조회 3,389
07-07-06 조회 5,212
07-07-06 조회 5,609
07-07-05 조회 6,750
07-07-04 조회 3,384
07-06-11 조회 3,904
07-06-04 조회 7,248
07-05-28 조회 4,874
07-05-14 조회 6,343
07-05-10 조회 5,288
07-05-09 조회 3,388
07-05-04 조회 3,687
07-04-27 조회 3,331
07-04-25 조회 4,650
07-04-19 조회 3,616
07-04-16 조회 3,225
07-04-13 조회 3,838
07-04-12 조회 4,562
07-04-12 조회 4,774
07-04-11 조회 3,406
07-04-08 조회 5,135
07-04-07 조회 3,238
07-03-29 조회 3,545
07-03-27 조회 3,752
07-03-21 조회 5,150
07-03-15 조회 3,284
07-03-11 조회 3,304
07-03-10 조회 4,939
07-03-09 조회 3,944
07-03-08 조회 4,825
07-03-05 조회 2,947
07-03-02 조회 3,033
07-03-02 조회 3,873
07-02-26 조회 2,924
07-02-26 조회 3,014
07-02-23 조회 4,263
07-02-23 조회 3,330
07-02-23 조회 3,334
07-02-23 조회 3,515
07-02-22 조회 3,152
07-02-21 조회 4,805
07-02-20 조회 4,606
07-02-14 조회 3,754
07-02-12 조회 5,344
07-02-11 조회 4,778
07-02-10 조회 4,083
07-02-09 조회 3,858
07-02-08 조회 4,523
07-02-03 조회 4,118
07-02-02 조회 3,490
07-01-09 조회 3,581
07-01-08 조회 3,948
06-12-26 조회 4,645
06-12-21 조회 3,753
06-12-15 조회 4,163
06-12-15 조회 7,443
06-12-15 조회 3,171
06-12-15 조회 3,191
06-12-15 조회 3,465
06-12-15 조회 3,122
06-12-15 조회 4,540
06-12-15 조회 3,138