푸

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-04-03 조회 2,795
08-04-02 조회 2,994
08-04-02 조회 2,867
08-04-02 조회 3,184
08-04-02 조회 3,142
08-04-02 조회 3,169
08-04-02 조회 3,113
08-04-02 조회 2,817
08-04-02 조회 2,814
08-04-02 조회 2,922
08-04-02 조회 3,223
08-04-02 조회 3,109
08-04-02 조회 2,893
08-04-02 조회 3,033
08-04-02 조회 2,700
08-04-02 조회 2,962
08-04-02 조회 3,282
08-04-02 조회 4,080
08-04-02 조회 3,273
08-03-31 조회 2,573
08-03-31 조회 3,137
08-03-31 조회 3,640
08-03-29 조회 2,765
08-03-28 조회 3,471
08-03-28 조회 2,969
08-03-28 조회 2,638
08-03-27 조회 2,469
08-03-26 조회 3,374
08-03-26 조회 4,334
08-03-25 조회 3,804
08-03-25 조회 2,816
08-03-25 조회 4,133
08-03-25 조회 3,640
08-03-25 조회 4,060
08-03-25 조회 4,088
08-03-25 조회 3,747
08-03-25 조회 3,647
08-03-25 조회 2,902
08-03-25 조회 3,656
08-03-25 조회 5,355
08-03-21 조회 3,019
08-03-19 조회 5,181
08-03-18 조회 3,037
08-03-16 조회 3,001
08-03-14 조회 3,320
08-03-13 조회 3,712
08-03-13 조회 2,693
08-03-11 조회 3,017
08-03-11 조회 3,569
08-03-11 조회 3,060
08-03-11 조회 3,022
08-03-11 조회 2,815
08-03-11 조회 2,657
08-03-11 조회 2,599
08-03-11 조회 2,410
08-03-11 조회 2,420
08-03-11 조회 2,471
08-03-11 조회 2,453
08-03-11 조회 2,857
08-03-11 조회 2,929
08-03-08 조회 3,153
08-03-07 조회 4,268
08-03-07 조회 3,375
08-03-07 조회 3,033
08-03-06 조회 3,381
08-03-06 조회 3,127
08-03-06 조회 4,812
08-03-05 조회 2,748
08-03-04 조회 2,892
08-03-04 조회 2,593
08-03-04 조회 3,456
08-03-03 조회 4,430
08-02-28 조회 3,524
08-02-27 조회 3,012
08-02-22 조회 4,332
08-02-22 조회 5,706
08-02-22 조회 2,970
08-02-21 조회 4,648
08-02-21 조회 2,876
08-02-21 조회 4,872
08-02-21 조회 7,151
08-02-21 조회 2,663
08-02-21 조회 3,432
08-02-20 조회 3,101
08-02-19 조회 2,768
08-02-19 조회 3,624
08-02-19 조회 3,837
08-02-15 조회 2,802
08-02-15 조회 3,985
08-02-14 조회 4,494
08-02-14 조회 2,690
08-02-12 조회 3,141
08-02-11 조회 5,143
08-02-09 조회 5,885
08-02-09 조회 3,075
08-02-08 조회 2,930
08-02-05 조회 3,943
08-02-04 조회 3,144
08-02-03 조회 5,433
08-02-03 조회 2,842