푸

mysql 원격접속방법

· 2007-05-04 (금) 14:58:38 · 6112 · 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건
+
제목 글쓴이 날짜 조회
07-10-13 조회 5,106
07-10-03 조회 4,089
07-10-03 조회 3,285
07-10-03 조회 2,504
07-10-03 조회 4,609
07-10-02 조회 2,940
07-10-01 조회 3,571
07-09-28 조회 3,488
07-09-27 조회 4,549
07-08-16 조회 6,403
07-08-04 조회 2,852
07-07-25 조회 6,104
07-07-05 조회 4,000
07-07-02 조회 4,547
07-06-30 조회 4,446
07-06-20 조회 7,335
07-06-20 조회 3,944
07-06-05 조회 4,116
07-05-26 조회 3,138
07-05-17 조회 9,149
07-05-17 조회 5,193
07-05-04 조회 6,113
07-04-15 조회 6,201
07-04-13 조회 3,963
07-04-11 조회 3,383
07-03-20 조회 3,551
07-03-02 조회 6,782
07-02-27 조회 6,046
07-02-22 조회 4,441
07-01-30 조회 6,251
07-01-30 조회 1만
06-12-20 조회 3,719
06-12-18 조회 4,602
06-12-15 조회 4,583
06-12-15 조회 3,809
06-12-15 조회 3,194
06-11-30 조회 3,634
06-11-27 조회 4,526
06-10-24 조회 6,438
06-10-17 조회 4,747
06-09-22 조회 4,483
06-09-21 조회 5,988
06-09-21 조회 3,911
06-09-15 조회 6,532
06-08-20 조회 3,672
06-07-19 조회 3,311
06-07-14 조회 4,220
06-07-14 조회 4,086
06-07-11 조회 5,698
06-06-08 조회 4,275
06-06-08 조회 4,187
06-05-24 조회 3,498
06-05-24 조회 4,884
06-05-17 조회 3,592
06-05-16 조회 4,345
06-05-14 조회 6,038
06-05-12 조회 3,596
06-05-06 조회 4,245
06-05-06 조회 4,330
06-05-06 조회 3,629
06-05-06 조회 3,700
06-05-06 조회 4,149
06-04-25 조회 4,016
06-03-23 조회 5,475
06-01-20 조회 4,043
06-01-04 조회 4,250
05-12-30 조회 4,120
05-12-21 조회 4,797
05-11-09 조회 4,005
05-11-09 조회 3,785
05-10-09 조회 3,450
05-09-21 조회 6,838
05-08-14 조회 4,318
05-08-04 조회 5,502
05-07-14 조회 4,558
05-06-15 조회 4,944
05-04-23 조회 4,550
05-04-20 조회 5,008
05-04-19 조회 1.1만
05-04-19 조회 5,968
05-03-15 조회 3,785
05-03-15 조회 4,228
05-03-13 조회 2,905
05-03-13 조회 3,430
05-03-13 조회 3,418
05-03-13 조회 2,719
05-03-13 조회 5,765
05-03-13 조회 5,402
05-03-13 조회 4,334
05-03-13 조회 4,629
05-03-13 조회 7,890
05-03-13 조회 4,388
05-03-13 조회 3,470
05-03-13 조회 3,464
05-03-13 조회 8,012
05-03-13 조회 5,467
05-03-13 조회 4,117
05-03-12 조회 3,755
05-03-12 조회 4,469
05-02-24 조회 4,618