MySQL Forums
Forum List  »  Router & Proxy

Re: Problems getting mysql-proxy working from SVN trunk.
Posted by: Gerry Reno
Date: April 18, 2008 09:16AM

I tried to run the tests without any luck:
make check

...
make check-TESTS
make[4]: Entering directory `/root/build/mysql-proxy/trunk/tests/suite'
2008-04-18 11:11:44: (critical) plugin.c.3778: connect(127.0.0.1:3306) failed: Connection refused
mysqltest: Could not open connection 'default': 2013 Lost connection to MySQL server at 'reading initial communication packet', system error: 0
not ok resultset
*** ERRORS OCCURRED - The following tests failed
resultset.test
FAIL: base
==============================
1 of 1 tests failed
Please report to jan@mysql.com
==============================

investigating...
=================================================================
UPDATE: restarted mysqld and tests succeeded:

make check-TESTS
make[4]: Entering directory `/root/build/mysql-proxy/trunk/tests/suite'
ok resultset
ok xtab1
ok select_null
ok raw_packets
ok chain1
ok load_multi
ok tokens1
ok error_struct
ok select_affected_rows
ok xtab2
ok tokens2
ok query_analizer1
ok bug_30867
PASS: base
==================
All 1 tests passed
==================
make[4]: Leaving directory `/root/build/mysql-proxy/trunk/tests/suite'
make[3]: Leaving directory `/root/build/mysql-proxy/trunk/tests/suite'
make[2]: Leaving directory `/root/build/mysql-proxy/trunk/tests/suite'
Making check in unit
make[2]: Entering directory `/root/build/mysql-proxy/trunk/tests/unit'
Making check in lua
make[3]: Entering directory `/root/build/mysql-proxy/trunk/tests/unit/lua'
make check-TESTS
make[4]: Entering directory `/root/build/mysql-proxy/trunk/tests/unit/lua'
100.00%, 6 passed, 0 failed
PASS: proxy-test.lua
100.00%, 5 passed, 0 failed
PASS: active-queries.lua
100.00%, 2 passed, 0 failed
PASS: proxy-auto-config.lua
100.00%, 9 passed, 0 failed
PASS: proxy-commands.lua
100.00%, 1 passed, 0 failed
PASS: proxy-tokenizer.lua
100.00%, 1 passed, 0 failed
PASS: proxy-parser.lua
==================
All 6 tests passed
==================
make[4]: Leaving directory `/root/build/mysql-proxy/trunk/tests/unit/lua'
make[3]: Leaving directory `/root/build/mysql-proxy/trunk/tests/unit/lua'
make[3]: Entering directory `/root/build/mysql-proxy/trunk/tests/unit'
make
make[4]: Entering directory `/root/build/mysql-proxy/trunk/tests/unit'
Making all in lua
make[5]: Entering directory `/root/build/mysql-proxy/trunk/tests/unit/lua'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/root/build/mysql-proxy/trunk/tests/unit/lua'
make[5]: Entering directory `/root/build/mysql-proxy/trunk/tests/unit'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/root/build/mysql-proxy/trunk/tests/unit'
make[4]: Leaving directory `/root/build/mysql-proxy/trunk/tests/unit'
make check-TESTS
make[4]: Entering directory `/root/build/mysql-proxy/trunk/tests/unit'
==================
All 0 tests passed
==================
make[4]: Leaving directory `/root/build/mysql-proxy/trunk/tests/unit'
make[3]: Leaving directory `/root/build/mysql-proxy/trunk/tests/unit'
make[2]: Leaving directory `/root/build/mysql-proxy/trunk/tests/unit'
make[2]: Entering directory `/root/build/mysql-proxy/trunk/tests'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/root/build/mysql-proxy/trunk/tests'
make[1]: Leaving directory `/root/build/mysql-proxy/trunk/tests'
Making check in lib
make[1]: Entering directory `/root/build/mysql-proxy/trunk/lib'
Making check in proxy
make[2]: Entering directory `/root/build/mysql-proxy/trunk/lib/proxy'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/root/build/mysql-proxy/trunk/lib/proxy'
make[2]: Entering directory `/root/build/mysql-proxy/trunk/lib'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/root/build/mysql-proxy/trunk/lib'
make[1]: Leaving directory `/root/build/mysql-proxy/trunk/lib'
make[1]: Entering directory `/root/build/mysql-proxy/trunk'
make[1]: Leaving directory `/root/build/mysql-proxy/trunk'
[root@grp-01-60-50 trunk]#


So the install is good, but /etc/init.d/mysql-proxy with /etc/sysconfig/mysql-proxy does not work well.

Gerry



Edited 1 time(s). Last edit at 04/18/2008 09:34AM by Gerry Reno.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Problems getting mysql-proxy working from SVN trunk.
3044
April 18, 2008 09:16AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.