On 07/05/2014 08:01 AM,
bogatiy...@mail.ru wrote:
> * Linux 2.6.32-431.20.3.el6.centos.plus.i686
> * MYSQL - 5.1.73-3.el6_5 i686
> * HTTPD - 2.2.15-30.el6.centos i686
> * PHP - 5.3.3-27.el6_5 i686
> * USED SOURCES FOR BUILD - mysql-5.1.73-3.el6_5.src.rpm
> * MYSQL CONFIGURE OPTIONS - Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=
http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch=i686 --build=i686-redhat-linux
>
>
> COMMANDS USED:
>
> 1. |#rpm -Uvh |mysql-5.1.73-3.el6_5.src.rpm
> 2. |#yum install rpm-build cmake|
> 3. |#yum install judy protobuf libevent Judy-devel protobuf-devel libevent-devel|
> 4. |#rpmbuild -bp --target=i686 --define 'community 1' mysql.spec|
> 5. *#mysqlbug to get mysql configure options*
> 6. /#./configure ..options... && cd include && make/
> 7. |#tar -xf pinba_engine-1.0.0.tar.gz|
> 8. |#cd pinba_engine-1.0.0|
> 9. |#./configure --with-mysql=~/rpmbuild/BUILD/mysql-5.1.73 --with-event=/usr --with-judy=/usr --with-protobuf=/usr --with-libdir=/usr/lib/mysql/plugin|
> 10. |#make && make install|
> 11. |#mv /usr/local/lib/libpinba* /usr/lib/mysql/plugin|
> 12. |#mysql -uroot -p|
> 13. |#mysql>INSTALL PLUGIN pinba SONAME 'libpinba_engine.so';|
> 14. |#mysql>CREATE DATABASE pinba;quit;|
> 15. #service mysqld restart
>
>
> But when i try to import |default_tables.sql I HAVE THE ERROR |#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured).
>
> I found out that this error occurs every time when you try to create, import, or delete a field type PINBA. Maybe you tell me how to fix it and where I was wrong.
Are you sure the server is running?
Are you sure the configure options are identical to the options used to build the RPM packet?
What do you see in the mysql log?
--
Wbr,
Antony Dovgal
---
http://pinba.org - realtime profiling for PHP