푸

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,331
07-05-09 조회 3,412
07-05-09 조회 5,355
07-05-09 조회 3,434
07-05-09 조회 4,508
07-05-09 조회 6,058
07-05-08 조회 3,117
07-05-08 조회 4,494
07-05-08 조회 2,815
07-05-08 조회 3,861
07-05-07 조회 2,858
07-05-05 조회 3,897
07-05-04 조회 3,722
07-05-04 조회 2,709
07-05-04 조회 2,651
07-05-04 조회 2,875
07-05-04 조회 3,455
07-05-04 조회 3,206
07-05-04 조회 3,548
07-05-04 조회 6,149
07-05-04 조회 2,918
07-05-04 조회 2,354
07-05-04 조회 2,467
07-05-04 조회 2,439
07-05-04 조회 2,187
07-05-04 조회 2,144
07-05-04 조회 2,491
07-05-04 조회 2,478
07-05-04 조회 3,437
07-05-04 조회 2,354
07-05-04 조회 2,742
07-05-04 조회 3,252
07-05-04 조회 2,385
07-05-04 조회 3,977
07-05-04 조회 2,442
07-05-04 조회 2,822
07-05-04 조회 2,646
07-05-04 조회 2,549
07-05-04 조회 2,387
07-05-04 조회 2,217
07-05-04 조회 2,836
07-05-04 조회 2,221
07-05-04 조회 4,811
07-05-04 조회 2,847
07-05-02 조회 2,937
07-05-02 조회 2,264
07-05-02 조회 2,993
07-05-02 조회 2,225
07-05-02 조회 2,291
07-05-02 조회 2,130
07-05-02 조회 2,100
07-05-02 조회 2,186
07-05-02 조회 3,695
07-05-01 조회 2,658
07-05-01 조회 2,763
07-05-01 조회 2,325
07-05-01 조회 3,000
07-05-01 조회 2,665
07-05-01 조회 2,630
07-05-01 조회 2,841
07-05-01 조회 2,123
07-05-01 조회 2,563
07-05-01 조회 3,428
07-05-01 조회 2,288
07-05-01 조회 2,470
07-05-01 조회 2,699
07-05-01 조회 2,310
07-05-01 조회 2,112
07-05-01 조회 2,315
07-05-01 조회 2,661
07-05-01 조회 2,782
07-05-01 조회 2,714
07-05-01 조회 2,320
07-04-30 조회 9,789
07-04-30 조회 3,108
07-04-30 조회 2,660
07-04-30 조회 2,625
07-04-30 조회 2,964
07-04-30 조회 3,041
07-04-30 조회 2,390
07-04-30 조회 2,125
07-04-30 조회 3,938
07-04-30 조회 4,312
07-04-30 조회 3,370
07-04-30 조회 2,775
07-04-30 조회 2,595
07-04-30 조회 2,022
07-04-28 조회 2,937
07-04-28 조회 6,450
07-04-27 조회 4,039
07-04-27 조회 3,382
07-04-27 조회 4,292
07-04-26 조회 3,698
07-04-26 조회 3,407
07-04-26 조회 5,714
07-04-26 조회 4,695
07-04-25 조회 4,697
07-04-25 조회 5,222
07-04-25 조회 3,123
07-04-22 조회 2,905