drizzle client only works when using strace

Bug #673360 reported by m00dawg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Invalid
High
Andrew Hutchings
7.0
Invalid
High
Andrew Hutchings

Bug Description

This is on Ubuntu 10.04 with latest (as of this moment) development DEBs:

root@mcp:~# drizzle
ERROR:
drizzle_state_connect:could not connect
root@mcp:~# strace drizzle 2> WTF
Welcome to the Drizzle client.. Commands end with ; or \g.
Your Drizzle connection id is 1
Connection protocol: mysql
Server version: 2010.10.02 Debian

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

drizzle>
drizzle> Bye

root@mcp:~# mysql -P4427 -h127.0.0.1
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 2010.10.02 Debian

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

root@mcp:~# drizzle --port=4427
Error:multiple_occurrences

*scratches head*

Revision history for this message
Lee Bieber (kalebral-deactivatedaccount) wrote :

I'm not sure if Andrew or Monty should be assigned to this, but will start with Andrew, please reassign if necessary

Revision history for this message
Andrew Hutchings (andrew-hutchings) wrote :

I am not affiliated with the Drizzle project. I believe the other Andrew Hutchings was meant to be assigned.

Revision history for this message
Andrew Hutchings (linuxjedi) wrote :

ok, so. Done a clean install of 10.04, installed MySQL on it, then Drizzle PPA. So far haven't been able to reproduce this so I am missing something here...

Revision history for this message
m00dawg (tim-moocowproductions) wrote :

Using these PPAs? (just confirming):

tim@mcp:~$ cat /etc/apt/sources.list.d/drizzle.list
#deb http://ppa.launchpad.net/drizzle-developers/ppa/ubuntu lucid main
deb http://ppa.launchpad.net/drizzle-developers/trunk/ubuntu lucid main

Revision history for this message
Andrew Hutchings (linuxjedi) wrote :

ok, so it can't be a config file, in tests I found the config file settings do not have dominance.

m00dawg: can you please try the 'alias' command in bash? Something in your setup is doing some kind of command line aliasing somewhere I think.

Revision history for this message
m00dawg (tim-moocowproductions) wrote :

... man as soon as you said that I remembered I was doing this:

alias drizzle="drizzle -p3307"

Ooops :/ I forgot I had that there after the last update. Oh man sorry for wasting your time there! Removing the line fixes things.

*runs away meekly* :)

Revision history for this message
Andrew Hutchings (linuxjedi) wrote :

hehe, no problem. Glad we could come to a resolution and I found another small bug in config file handling whilst testing this :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.