Hello,
mysql> SELECT * FROM
pinba.info;
Empty set (0.01 sec)
BUT
When I have installed the plugin for mysql the first time, I had a big
crash issue. This is the situation I was having :
# mysql -uroot -p pinba < default_table
Enter password:
ERROR 2013 (HY000) at line 3: Lost connection to MySQL server during
query
The connection was lost because of the server crash.
So what I did after that, is that I have copy/paste all the table
creation commands that was within the file, after having removed/
created the database again. I did not have a crash after that, but
nothing worked regarding pinba.
Now, I have tried again the command (mysql -uroot -p pinba <
default_table), and I have again the same issue.
So, we can assume that with copy/paste, I have missed some tables. But
creating the whole tables, makes mysql server crash. On a few forums,
it is said that the crash due to some plugin, is generally due to the
fact that the plugin is not compiled with the same version of mysql
server code. I don't know how to be sure of that, because the mysql
server version installer on my machine, comes from a binary package...
Another possible source of the problem could be the dependant
libraries I have used. Please find below the configuration I have
used :
Ubuntu 10.04.2 LTS \n \l
pinba_engine-0.0.6
pinba_extension-201104091455
judy-1.0.5
libevent-2.0.10-stable
protobuf-2.4.0a
mysql-dfsg-5.1-5.1.41
The mysql source code was retreived using the following command :
apt-get source mysql-server
And the configuration of pinba was done as following :
./configure --with-mysql=../mysql-dfsg-5.1-5.1.41 --libdir=/usr/lib/
mysql/plugin
Any ideas ?
Thanks !