[REBOL] Re: SQL, driver or me? (was: Re: Re: [ANN] (but whatshould I call it?))
From: dockimbel::free::fr at: 25-Jun-2003 1:24
Hi,
Hallvard Ystad wrote:
[...]
> URL Parse: root none localhost none none rebindex
> Net-log: ["Opening" "tcp" "for" "mySQL"]
> connecting to: localhost
> Net-log: ["low level read of " 4 "bytes"]
> Net-log: ["low level read of " 42 "bytes"]
> Net-log: {
> ----- Server ------
> Version: 4.0.12-nt
> Protocol version: 10
> Thread ID: 81
> Crypt Seed: o!OMs|4.
> Capabilities: [
> long-flag
> connect-with-db
> compress
> transactions]
> -------------------}
> Net-log: ["low level read of " 4 "bytes"]
> Net-log: ["low level read of " 3 "bytes"]
> Net-log: "Connected to server. Handshake OK"
> Net-log: "sending ping..."
> Net-log: ["low level read of " 4 "bytes"]
>
> (...)
>
> Net-log: ["low level read of " 584 "bytes"]
> Net-log: ["low level read of " 1341 "bytes"]
> Net-log: ["low level read of " 0 "bytes"]
[...]
Looks like the driver is expecting more data that never come.
You're using a MySQL v4. I've never tested the driver with v4. The protocol may
have changed slighly in v4 which may be the cause of your problem.
You can generate a more useful report (for me) by doing the following
modification in the driver source :
1) Find the following line in mysql-protocol.r :
net-log ["low level read of " len "bytes"]
2) Insert just before the following code :
probe data
net-log ["low level read of " len "bytes"]
3) Relaunch your test.
4) Send me the output by email.
HTH,
-DocKimbel