[REBOL] RE : Re: R: fixes - Re: MySQL 1.0.0 beta driver released .... (BUG REPORT)
From: alain:goye:free at: 6-Feb-2006 11:39
Hi Dockimbel,
Trying to run mysql-protocol.r I get the "Bad handshake" error everytime, together with
strange rubbish printouts, as in the following (running on Win2K):
REBOL/View 1.3.2.3.1 5-Dec-2005 Core 2.6.3
Copyright 2000-2005 REBOL Technologies. All rights reserved.
REBOL is a trademark of REBOL Technologies. WWW.REBOL.COM
*** Visit http://www.REBOL.com for View/Pro features.
Type desktop to start the Viewtop.
>> do %mysql-protocol.r
Script: "MySQL Protocol" (25-Jan-2006)
MySQL protocol loaded
>> db: open mysql://root:?-localhost/cist
Password: ******
connecting to: localhost
{^K^-^U^-^-root^-st=C3=AD=E2=80=A0=C3=85^!^R=C3=BE=C3=BAxc[B=C3=BB=C2=A3=C2=9D4si=C3=9D^-cist^-}
>> insert db "SELECT * FROM staff"
connecting to: localhost
{^K^-^U^-^-root^-=CB=9C=C2=B4^Z^A=C3=A4jR=C2=B4=C3=A7
=C2=A5=C3=98=C3=99v=C3=BAk=C2=A7=C3=B1:#^-cist^-}
** User Error: ERROR 1043 : Bad handshake
** Near: insert db "SELECT * FROM staff"
Actually I get the same thing whatever (good or bad) password I give in the "open" command,
and it never complains when I close the port (though it should not succeed in opening
the port if the password is bad?)
Do I miss something or is it a bug?
Alain G.