[Sqlrelay-discussion] problem getting sqlrelay and mysql-client to work
Brought to you by:
mused
From: Javi P. <jav...@da...> - 2005-06-20 12:53:33
|
Hi I set up a SQLRelay and is working fine if I access it via sqlrsh, but I cannot connect using mysql-client (using the drop-in replacement library). I can connect, but then it says some nasty things: sarada:/var/cache/sqlrelay/debug# export LD_PRELOAD=/root/libmysql41sqlrelay.so sarada:/var/cache/sqlrelay/debug# mysql -h127.0.0.1 -P9000 -usqlrelay -pnotengopiernas prueba Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 0 to server version: 4.1.1 Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> show tables; ERROR: Failed to get a cursor id. A network error may have ocurred. mysql> I tried to google a little bit, but found nothing :/ Can anyone enlighten me? :P I'm using debian linux, and have compiled the library myself ... btw, as I pointed out before, I can connect and perform queries with sqlrsh: kinoko:/var/cache/sqlrelay/debug# sqlrsh -id prueba SQLRShell - Version 0.22 Connected to: localhost:9000 as sqlrelay type help; for a help. 0> show tables; Tables_in_prueba ==================== Access Admins Rows Returned : 2 Fields Returned : 2 System time : 0 [snip] Thanks in advance :) -- Javier Polo @ Datagrama 902 136 126 |