푸

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,188건
+
제목 글쓴이 날짜 조회
07-05-10 조회 5,336
07-05-09 조회 3,416
07-05-09 조회 5,357
07-05-09 조회 3,439
07-05-09 조회 4,509
07-05-09 조회 6,058
07-05-08 조회 3,120
07-05-08 조회 4,495
07-05-08 조회 2,819
07-05-08 조회 3,863
07-05-07 조회 2,859
07-05-05 조회 3,898
07-05-04 조회 3,725
07-05-04 조회 2,713
07-05-04 조회 2,654
07-05-04 조회 2,879
07-05-04 조회 3,459
07-05-04 조회 3,208
07-05-04 조회 3,548
07-05-04 조회 6,151
07-05-04 조회 2,922
07-05-04 조회 2,355
07-05-04 조회 2,468
07-05-04 조회 2,443
07-05-04 조회 2,187
07-05-04 조회 2,145
07-05-04 조회 2,494
07-05-04 조회 2,480
07-05-04 조회 3,439
07-05-04 조회 2,357
07-05-04 조회 2,744
07-05-04 조회 3,253
07-05-04 조회 2,387
07-05-04 조회 3,979
07-05-04 조회 2,444
07-05-04 조회 2,825
07-05-04 조회 2,650
07-05-04 조회 2,553
07-05-04 조회 2,387
07-05-04 조회 2,220
07-05-04 조회 2,839
07-05-04 조회 2,226
07-05-04 조회 4,815
07-05-04 조회 2,849
07-05-02 조회 2,940
07-05-02 조회 2,267
07-05-02 조회 2,996
07-05-02 조회 2,228
07-05-02 조회 2,293
07-05-02 조회 2,132
07-05-02 조회 2,101
07-05-02 조회 2,187
07-05-02 조회 3,696
07-05-01 조회 2,659
07-05-01 조회 2,763
07-05-01 조회 2,328
07-05-01 조회 3,002
07-05-01 조회 2,666
07-05-01 조회 2,633
07-05-01 조회 2,844
07-05-01 조회 2,124
07-05-01 조회 2,564
07-05-01 조회 3,429
07-05-01 조회 2,289
07-05-01 조회 2,472
07-05-01 조회 2,703
07-05-01 조회 2,311
07-05-01 조회 2,113
07-05-01 조회 2,316
07-05-01 조회 2,663
07-05-01 조회 2,786
07-05-01 조회 2,714
07-05-01 조회 2,324
07-04-30 조회 9,793
07-04-30 조회 3,110
07-04-30 조회 2,662
07-04-30 조회 2,629
07-04-30 조회 2,967
07-04-30 조회 3,044
07-04-30 조회 2,393
07-04-30 조회 2,126
07-04-30 조회 3,942
07-04-30 조회 4,316
07-04-30 조회 3,372
07-04-30 조회 2,776
07-04-30 조회 2,597
07-04-30 조회 2,024
07-04-28 조회 2,941
07-04-28 조회 6,453
07-04-27 조회 4,042
07-04-27 조회 3,386
07-04-27 조회 4,296
07-04-26 조회 3,698
07-04-26 조회 3,410
07-04-26 조회 5,716
07-04-26 조회 4,700
07-04-25 조회 4,703
07-04-25 조회 5,227
07-04-25 조회 3,124
07-04-22 조회 2,908