[REBOL] RE : Re: RE : Re: RE : Re: RE : Re: R: fixes - Re: MySQL 1.0.0 beta driver released .... (BUG REPORT)
From: alain::goye::free::fr at: 7-Feb-2006 8:40
Hi Dockimbel, Petr, Anton,
Thanks so much to all for your help with this issue.
One mystery remains (why I still have the "Bad handshake" on the
local-machine mySql) but at least I could have a version running.
As for the "null dates" error, as I already had it with the former
version of mysql-protocol.r, I "patched" it this way. Does it make sense
that a null date be converted to a none value?
conv-model: [
...
date [attempt [to date!]]
time [to time!]
datetime [attempt [to date!]]
...
]
Alain.
-----Message d'origine-----
De : rebol-bounce-rebol.com [mailto:rebol-bounce-rebol.com] De la part
de dockimbel-free.fr
Envoy=E9 : mardi 7 f=E9vrier 2006 02:47
=C0 : rebolist-rebol.com
Objet : [REBOL] Re: RE : Re: RE : Re: RE : Re: R: fixes - Re: MySQL
1.0.0 beta driver released .... (BUG REPORT)
Hi Alain,
I'm guilty for the "probe" left in the last beta uploaded on our
website.= I've fixed that.
About your handshake issue, I've tried to reproduce that with MySQLd
v4.1= -16-nt (couldn't find a 1-14 version). I saw no error during the
handshake proce= ss (with or without password). Yet, I've used tables
from my 3.x install wit= h v4+ servers, so it may impact the relevance
of my validating tests...
Conversion error: the error you get when reading the first record from
th= e result of your query is caused by REBOL not allowing null dates
("0000-00= -00 00:00:00"). I'm open to suggestions on how should the
driver act upon suc= h not LOAD-able date, besides catching the error.
Thanks for your report,
--
DocKimbel.
Selon Alain Goy=C3=A9 <alain.goye-free.fr>:
> No, I'm not using an empty password, and my "old_passwords" variable
> is
> OFF...
>
> But here is something new: I installed the same mySql version on
> another
> machine (Windows server 2003) and (accessing it over the LAN with the
> = same Rebol) now it works better... Except for the rubbish
> printouts = which are still here:
>
> >> do %mysql-protocol.r
> Script: "MySQL Protocol" (25-Jan-2006)
> MySQL protocol loaded
> >> ; good password:
> >> db: open mysql://root:mySqlAdmin-10.10.10.14/cist
> connecting to: 10.10.10.14 {^K^-^Y^-^-root^-=C3=85z0=C2=81^U
>
> =C5=A0#=C2=B2=C3=AB^X:=C3=BF=C3=9A=C3=A0^XBYX=