database.sarang.net
UserID
Passwd
Database
DBMS
ㆍMySQL
PostgreSQL
Firebird
Oracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
MySQL Q&A 3639 게시물 읽기
No. 3639
ERROR 1130: Host '' is not allowed to connect to this MySQL server
작성자
김진욱
작성일
2000-09-20 15:10
조회수
1,142

계속 psql를 하다가 이번에 필요로 mysql을 할려고 합니다.

 

두대의 컴터에다가 mysql server랑 client모두 설치하고, 다음과 같이 서로서로

접속을 시켜보았더니 한쪽에서만 안되더군요.

 

dbserver : GNU Debian Linux Potato/potato-kr Package install

MySql version 3.22.32-log(server)

 

xcompile : Wow Linux 6.1 RPM Package install

MySql version 3.22.32(server)

 

dbserver에서 xcompile로는 다음과 같이 해서 잘되었습니다.

 

==============================================================================

dynamic@dbserver:~/www/board$ mysql --host=xcompile -udynamic -p dynamic

Enter password:

Welcome to the MySQL monitor. Commands end with ; or \.

Your MySQL connection id is 12 to server version: 3.22.32

 

Type 'help' for help.

 

mysql>

==============================================================================

 

그런데 xcompile 에서 dbserver로 하게 되면 다음과 같은 에러가 나게 됩니다.

 

==============================================================================

[xcompile@xcompile freeboard]$ mysql --host dbserver -udynamic -ppass dynamic

ERROR 1130: Host '' is not allowed to connect to this MySQL server

==============================================================================

 

dbserver 에 mysql db내의 user table 내에 등록을 하고 reload를 여러번 했는데도

안되더군요.. 다음은 dbserver의 user table입니다.

 

==============================================================================

dynamic@dbserver:~/www/board$ mysql -u root -p mysql

Enter password:

Welcome to the MySQL monitor. Commands end with ; or \.

Your MySQL connection id is 84 to server version: 3.22.32-log

 

Type 'help' for help.

 

mysql> select host,user,password from user;

+----------------+----------+------------------+

| host | user | password |

+----------------+----------+------------------+

| localhost | root | 201ebef44e9b26e6 |

| easy2 | root | 201ebef44e9b26e6 |

| localhost | | |

| easy2 | | |

| localhost | dynamic | 257995000ed3c7e1 |

| xcompile | dynamic | 257995000ed3c7e1 |

| xcompile.co.kr | dynamic | 257995000ed3c7e1 |

+----------------+----------+------------------+

7 rows in set (0.02 sec)

 

mysql>

==============================================================================

 

잘안되어서 xcompile xcompile.co.kr 모두 등록했습니다.

/etc/hosts 에 xcompile 이 알리아스되어있어서 xcompile만 처음에 등록해서

해봤었구요. 물론.. 실제로 그컴퓨터에는 xcompile.co.kr이라는 도메인이

있습니다.

 

제대로 질문한건지모르겠네요.. 읽어주셔셔 감사합니다.

[Top]
No.
제목
작성자
작성일
조회
3646(정보/질문) Solaris 2.7에서 컴파일 에러
coeman1
2000-09-20
883
3644mysql에서 테이블 백업 방법..
이정운
2000-09-20
827
3645┕># Re: mysql에서 테이블 백업 방법..
문태준
2000-09-20 17:25:58
1319
3640Warning: Supplied argument is not a valid MySQL-Link resource in dbconn.inc on line 4 ERROR CODE 0 :
김진욱
2000-09-20
746
3641┕>Re: Warning: Supplied argument is not a valid MySQL-Link resource in dbconn.inc on line 4 ERROR CODE 0 :
김진욱
2000-09-20 15:36:38
804
3639ERROR 1130: Host '' is not allowed to connect to this MySQL server
김진욱
2000-09-20
1142
3647┕>Re: ERROR 1130: Host '' is not allowed to connect to this MySQL server
정재익
2000-09-20 19:26:14
1420
3638mysql 서버 데몬 실행이 안되요...T T
한우진
2000-09-20
805
3642┕>Re: mysql 서버 데몬 실행이 안되요...T T
장석규
2000-09-20 16:20:35
1140
3740┕>Re: mysql 서버 데몬 실행이 안되요...T T
송문수
2000-09-29 12:39:45
1088
3637# 이런초보적인 질문도 괜찮은가요?
이진환
2000-09-20
774
3652┕>Re: # 이런초보적인 질문도 괜찮은가요?
정재익
2000-09-21 15:24:42
880
3636auto_increment 와 null?
순풍
2000-09-20
891
3643┕>Re: auto_increment 와 null?
장석규
2000-09-20 16:22:45
818
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.018초, 이곳 서비스는
	PostgreSQL v16.4로 자료를 관리합니다