From: Petr Stehlik Date: March 15 1999 3:14pm Subject: host %-.64s List-Archive: http://lists.mysql.com/myodbc/29 Message-Id: <000001be6ef6$7a4b06a0$0401a8c0@joy.sophics> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0001_01BE6EFE.DC0F6EA0" ------=_NextPart_000_0001_01BE6EFE.DC0F6EA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi, I have been trying to install and use MyODBC 2.50.20-22 but everytime I try to connect to our Linux/MySQL 3.21 server I get the following error: "Host '%-.64s' is not allowed to connect to this MySQL server" I have no idea why I am not allowed to connect - user and password should be OK. Besides, the error report above looks like a wrong sprintf() so I am not sure what host is not allowed to connect. The myodbc.log is attached. Thanks in advance. Petr ------=_NextPart_000_0001_01BE6EFE.DC0F6EA0 Content-Type: application/octet-stream; name="myodbc.log" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="myodbc.log" | | >mysql_option | | | enter: option: 0 | | mysql_real_connect | | enter: host: 192.168.1.1 db: test user: joy | | info: Server name: '192.168.1.1'. TCP sock: 3306 | | >_mymalloc | | | enter: Size: 8192 | | | exit: ptr: 4fc37c0 | | <_mymalloc | | error: Got error: 1130 (Host '%-.64s' is not allowed to connect to = this MySQL server) | | error: message: 1130 (Host '%-.64s' is not allowed to connect to = this MySQL server) | | >end_server | | | info: Socket: 300 | | | >_myfree | | | | enter: ptr: 4fc37c0 | | | <_myfree | | | >free_old_query | | | mysql_close | | | >_myfree | | | | enter: ptr: 0 | | | <_myfree | | | >_myfree | | | | enter: ptr: 0 | | | <_myfree | | | >_myfree | | | | enter: ptr: 0 | | | <_myfree | | | >_myfree | | | | enter: ptr: 0 | | | <_myfree | | | >_myfree | | | | enter: ptr: 0 | | | <_myfree | | | >_myfree | | | | enter: ptr: 0 | | | <_myfree | | | >_myfree | | | | enter: ptr: 0 | | | <_myfree | | | >_myfree | | | | enter: ptr: 0 | | | <_myfree | | | >_myfree | | | | enter: ptr: 0 | | | <_myfree | | SQLError | enter: szErrorMsg: 17fdc78 | error: Message: Host '%-.64s' is not allowed to connect to this MySQL = server SQLError | enter: szErrorMsg: 17fdc78 SQLError | enter: szErrorMsg: 17fdc78 SQLFreeConnect | >_myfree | | enter: ptr: 0 | <_myfree | >_myfree | | enter: ptr: 0 | <_myfree | >_myfree | | enter: ptr: 0 | <_myfree | >_myfree | | enter: ptr: 0 | <_myfree | >_myfree | | enter: ptr: 0 | <_myfree _myfree | enter: ptr: 4fd0f88 <_myfree >_myfree | enter: ptr: 4fd0fd8 <_myfree >_myfree | enter: ptr: 4fd1138 <_myfree >TERMINATE | safe: Maximum memory usage: 8198 bytes (9k)