푸

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-11-25 조회 3,764
08-11-25 조회 2,956
08-11-25 조회 4,532
08-11-25 조회 4,405
08-11-21 조회 4,385
08-11-21 조회 5,313
08-11-20 조회 3,941
08-11-20 조회 3,754
08-11-19 조회 4,021
08-11-19 조회 4,261
08-11-18 조회 4,045
08-11-15 조회 2,921
08-11-14 조회 3,224
08-11-14 조회 2,892
08-11-14 조회 3,284
08-11-13 조회 3,909
08-11-12 조회 1만
08-11-07 조회 4,611
08-11-07 조회 5,597
08-11-03 조회 3,362
08-11-01 조회 5,077
08-11-01 조회 3,030
08-10-30 조회 2,739
08-10-30 조회 3,670
08-10-30 조회 2,766
08-10-30 조회 3,001
08-10-30 조회 2,865
08-10-29 조회 3,946
08-10-29 조회 2,927
08-10-29 조회 2,461
08-10-20 조회 2,593
08-10-18 조회 4,540
08-10-16 조회 3,595
08-10-16 조회 3,398
08-10-14 조회 2,601
08-10-11 조회 3,901
08-10-11 조회 2,496
08-10-09 조회 2,593
08-10-09 조회 2,750
08-10-09 조회 4,216
08-10-08 조회 3,912
08-10-02 조회 3,853
08-10-02 조회 2,599
08-10-02 조회 2,747
08-09-29 조회 4,679
08-09-29 조회 4,307
08-09-26 조회 5,620
08-09-26 조회 3,592
08-09-26 조회 3,659
08-09-26 조회 2,806
08-09-26 조회 3,844
08-09-26 조회 3,583
08-09-26 조회 4,344
08-09-22 조회 3,905
08-09-22 조회 3,090
08-09-22 조회 4,057
08-09-22 조회 3,018
08-09-22 조회 2,666
08-09-21 조회 3,655
08-09-20 조회 4,236
08-09-20 조회 5,508
08-09-20 조회 4,602
08-09-20 조회 2,927
08-09-20 조회 3,324
08-09-20 조회 3,691
08-09-20 조회 3,066
08-09-20 조회 3,257
08-09-20 조회 4,241
08-09-20 조회 3,741
08-09-20 조회 3,322
08-09-19 조회 5,719
08-09-19 조회 4,494
08-09-19 조회 2,808
08-09-18 조회 5,158
08-09-18 조회 4,238
08-09-18 조회 3,614
08-09-18 조회 2,809
08-09-18 조회 3,725
08-09-18 조회 3,516
08-09-17 조회 3,384
08-09-16 조회 3,331
08-09-10 조회 2,544
08-09-09 조회 3,343
08-09-06 조회 4,233
08-09-06 조회 2,795
08-09-06 조회 3,163
08-09-06 조회 2,825
08-09-06 조회 3,056
08-09-06 조회 2,944
08-09-06 조회 2,915
08-09-05 조회 3,913
08-09-05 조회 3,740
08-09-05 조회 3,567
08-09-05 조회 2,787
08-09-05 조회 3,813
08-09-05 조회 5,775
08-09-05 조회 4,233
08-09-05 조회 3,123
08-09-05 조회 3,276
08-09-05 조회 4,702