hi @all,
i try to compile pinba on linux-mint14 64bit with nginx, mysql 5.5.31 with sphinx 2.0.8.
i followed the introduction from
https://github.com/tony2001/pinba_engine/wiki/Installationhere my install steps:
apt-get update && apt-get install -y libprotobuf-dev libprotobuf-lite7 libprotobuf7 protobuf-compiler libjudydebian1 libevent-dev libevent-2.0-5 libevent-core-2.0-5 libevent-extra-2.0-5 libevent-openssl-2.0-5 libevent-pthreads-2.0-5 libevent-1.4-2 libevent-dev
i compiled the mysql with:
./configure
--with-sphinx-storage-engine --with-extra-charsets=all --with-big-tables
--with-unix-socket-path=/var/run/mysqld/mysqld.sock
--with-mysqld-user=mysql --with-libwrap --with-ssl --without-docs
--basedir=/usr --datadir=/var/lib/mysql --tmpdir=/tmp
--plugin_dir=/usr/lib/mysql/plugin --with-embedded-server
--with-embedded-privilege-control --with-debug --verbose
# Google Protocol Buffers
cd /usr/local/src
wget
http://protobuf.googlecode.com/files/protobuf-2.5.0.tar.gztar -xvzf protobuf-2.5.0.tar.gz && rm protobuf-2.5.0.tar.gz && cd protobuf-2.5.0
./configure \
--with-extra-charsets=all \
--with-big-tables
make
make install -j4
# General purpose dynamic array - Judy
wget
http://sourceforge.net/projects/judy/files/latest/downloadcp download Judy-1.0.5.tar.gz && tar -xvzf Judy-1.0.5.tar.gz && rm Judy-1.0.5.tar.gz && cd judy-1.0.5
./configure \
--with-extra-charsets=all \
--with-big-tables
make
make install -j4
# Install Pinba
wget
http://pinba.org/files/pinba_engine-1.0.0.tar.gztar -xvzf pinba_engine-1.0.0.tar.gz && rm pinba_engine-1.0.0.tar.gz && cd pinba_engine-1.0.0
./configure \
--with-mysql=/usr/local/src/mysql-5.5.31 \
--with-judy=/usr/local \
--with-protobuf=/usr/local \
--with-event=/usr \
--libdir=/usr/lib/mysql/plugin
make install
here my mysql-engines:
-------------------
Server version: 5.5.31-log Source distribution
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> show engines;
+--------------------+---------+------------------------------------------------------------+--------------+------+------------+
| Engine | Support | Comment | Transactions | XA | Savepoints |
+--------------------+---------+------------------------------------------------------------+--------------+------+------------+
| MRG_MYISAM | YES | Collection of identical MyISAM tables | NO | NO | NO |
| InnoDB | DEFAULT | Supports transactions, row-level locking, and foreign keys | YES | YES | YES |
| CSV | YES | CSV storage engine | NO | NO | NO |
| PINBA | YES | Pinba engine | NO | NO | NO |
| MyISAM | YES | MyISAM storage engine | NO | NO | NO |
| SPHINX | YES | Sphinx storage engine 2.0.8-release | NO | NO | NO |
| MEMORY | YES | Hash based, stored in memory, useful for temporary tables | NO | NO | NO |
| PERFORMANCE_SCHEMA | YES | Performance Schema | NO | NO | NO |
+--------------------+---------+------------------------------------------------------------+--------------+------+------------+
8 rows in set (0.04 sec)
-------------------
mysql> mysql -D pinba < default_tables.sql
-> ;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysql -D pinba < default_tables.sql' at line 1
so what can i do?
how is the problem or error on my installing-steps?
thanks and cheers, hans