Maybe I do some error but I have the following problem:

This is the script I use:

REBOL []
db: open mysql://root:[EMAIL PROTECTED]/prova
insert db "select * from tabella1"
print copy db

If I run mysql-protocol.r and start the script all is ok.
If I start again my script I have the following error:

>> do %provasql.r
** Access Error: Port prova already closed
** Where: read-rows
** Near: print copy db

I must restart mysql-protocol.r to have it working again.


Starting the script repeatly (in a short time range) I had this error =
too:

>> do %provasql.r
** User Error: ERROR 1043 : Bad handshake
** Near: db: open mysql://root:[EMAIL PROTECTED]/prova

I have modified the script to MySQL protocol loaded at the start of the
script

REBOL []
do %mysql-protocol.r
db: open mysql://root:[EMAIL PROTECTED]/prova
insert db "select * from tabella1"
print first copy db
wait 1
insert db "select * from tabella1"
print second copy db

But I always have the same error if I start it repeatly

>> do %provasql.r
** Access Error: Port prova already closed
** Where: read-rows
** Near: print copy db

It seems there is some timing problem.

Giuseppe Chillemi




-----Messaggio originale-----
Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di =
Petr
Krenzelok
Inviato: venerd=EC 13 gennaio 2006 9.59
A: [EMAIL PROTECTED]
Oggetto: [REBOL] fixes - Re: MySQL 1.0.0 beta driver released ....


For those who downloaded beta driver, please redownload, there were some =

fixes - not to new functionality, but some community member sent some=20
fixes/improvements earlier to DocKimbel, which were now implemented. For =

more you can read:

http://www.rebol.net/altweb/rebol3/chat220.html

-pekr-

Petr Krenzelok napsal(a):

>Hi guys,
>
>I have very good news for you. Good old friend DocKimbel heard our call =

>for update for mysql protocol, and here it is:
>
>New MySQL driver version 1.0.0 supporting servers v4.1.1+ =20
>http://softinnov.org/tmp/mysql-protocol.r . This is a beta release,=20
>please report any bugs, I will collect them and post back to altME. =
This=20
>release has not been tested with servers v3.x (but should work).
>
>I think it will work imediatelly though ...
>
>enjoy,
>Petr
> =20
>


--=20
To unsubscribe from the list, just send an email to=20
lists at rebol.com with unsubscribe as the subject.

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to