푸

mysql 원격접속방법

텔넷으로 접속해서
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개

해킹 당하기 딱 좋네요. -_-;
그러면 200% 해킹 됩니다. host='접속하려는 ip 또는 hostname'이 들어가야 합니다.
아 알겠습니다 ㅎㅎ 생큐생큐 ^^
원격접속방법..멋집니다..
음.. 제가 지금꺼 하게 해킹을 유도했네요 ㅡㅡ;;;
100%는 완벽하다는 말인데
200%는 무슨 뜻이지?
아~이건 몰랐던 건데..좋은 정보 감사합니다.^^
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,187건
+
제목 글쓴이 날짜 조회
08-06-15 조회 3,218
08-06-15 조회 2,441
08-06-14 조회 2,779
08-06-14 조회 3,683
08-06-14 조회 3,370
08-06-12 조회 2,246
08-06-11 조회 2,290
08-06-11 조회 2,383
08-06-11 조회 7,413
08-06-11 조회 7,143
08-06-08 조회 3,316
08-06-07 조회 2,249
08-06-05 조회 2,379
08-06-05 조회 3,349
08-06-05 조회 2,718
08-06-05 조회 2,370
08-06-05 조회 2,393
08-06-04 조회 2,317
08-06-03 조회 2,311
08-06-03 조회 5,385
08-06-03 조회 3,618
08-06-02 조회 2,914
08-06-02 조회 4,061
08-06-01 조회 2,670
08-05-31 조회 2,371
08-05-31 조회 2,382
08-05-31 조회 2,470
08-05-30 조회 2,340
08-05-29 조회 2,490
08-05-29 조회 3,762
08-05-27 조회 5,593
08-05-26 조회 2,437
08-05-26 조회 5,345
08-05-25 조회 5,435
08-05-24 조회 2,497
08-05-23 조회 3,507
08-05-23 조회 2,923
08-05-23 조회 4,676
08-05-22 조회 2,680
08-05-21 조회 5,019
08-05-21 조회 4,803
08-05-21 조회 3,950
08-05-20 조회 4,552
08-05-20 조회 4,128
08-05-20 조회 3,352
08-05-20 조회 4,630
08-05-20 조회 3,972
08-05-20 조회 4,860
08-05-19 조회 2,403
08-05-16 조회 3,535
08-05-15 조회 2,596
08-05-15 조회 2,421
08-05-15 조회 2,410
08-05-14 조회 2,354
08-05-13 조회 2,813
08-05-13 조회 4,218
08-05-13 조회 4,632
08-05-09 조회 4,402
08-05-08 조회 3,159
08-05-08 조회 5,313
08-05-08 조회 2,661
08-05-07 조회 2,365
08-05-07 조회 2,511
08-05-07 조회 2,316
08-05-01 조회 2,631
08-05-01 조회 2,980
08-04-29 조회 3,829
08-04-28 조회 3,652
08-04-26 조회 2,672
08-04-26 조회 2,422
08-04-26 조회 3,699
08-04-25 조회 4,124
08-04-23 조회 4,561
08-04-22 조회 4,523
08-04-22 조회 3,654
08-04-22 조회 5,229
08-04-22 조회 4,605
08-04-22 조회 6,990
08-04-22 조회 4,044
08-04-21 조회 3,192
08-04-21 조회 3,239
08-04-21 조회 3,175
08-04-21 조회 3,001
08-04-21 조회 4,100
08-04-20 조회 3,272
08-04-20 조회 2,948
08-04-20 조회 3,473
08-04-19 조회 2,381
08-04-18 조회 3,093
08-04-18 조회 4,425
08-04-17 조회 3,665
08-04-17 조회 3,126
08-04-17 조회 3,329
08-04-17 조회 2,617
08-04-17 조회 3,012
08-04-17 조회 2,499
08-04-17 조회 3,050
08-04-17 조회 3,111
08-04-17 조회 2,301
08-04-17 조회 4,588