Moving RT


#1

Hi folks,

I’m moving RT from one host to another, and having difficulty getting the
dependencies installed on the new machine. Specifically, I’m having trouble
installing Msql-Mysql-modules. I told the makefile to connect to MySQL using
my root account and password, and to test the drivers using the “test"
database. As you can see from my output from “make test” it’s failing to
connect to mysql. I do have a fresh install of MySQL running, and it seems
to be working just fine. Perhaps I mistyped the password? In that case, I
tried running “make clean” then re-running “perl Makefile.PL”. However, it
did not ask me again what database or account I wanted to use to test the
MySQL drivers. So, I’m not sure how I can re-enter the root MySQL password
in case I made a typo when first running the script… Any hints? See my
"make test” output below. Thanks in advance. -Neil

make[1]: Entering directory /usr/local/Msql-Mysql-modules-1.2216/mysql' make[1]: Leaving directory/usr/local/Msql-Mysql-modules-1.2216/mysql’
make[1]: Entering directory /usr/local/Msql-Mysql-modules-1.2216/mysql' PERL_DL_NONLAZY=1 /usr/bin/perl -I../blib/arch -I../blib/lib -I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/00base............ok t/10dsnlist.........ok t/20createdrop......ok t/30insertfetch.....ok t/40bindparam.......ok t/40blobs...........ok t/40listfields......ok t/40nulls...........ok t/40numrows.........ok t/50chopblanks......ok t/50commit..........ok, 14/30 skipped: No transactions t/60leaks...........skipped test on this platform t/ak-dbd! ............ok t/akmisc............Mysql->connect(database=test;host=ginger) failed: Access denied for user: 'root@ginger' (Using password: YES) at t/akmisc.t line 133 t/akmisc............NOK 1Cannot connect: Access denied for user: 'root@ginger' (Using password: YES) It looks as if your server (on ginger) is not up and running. This test requires a running server. Please make sure your server is running and retry. t/akmisc............dubious Test returned status 10 (wstat 2560, 0xa00) DIED. FAILED tests 1-351 Failed 351/351 tests, 0.00% okay t/dbdadmin..........ok t/mysql2............Mysql->connect(database=test;host=ginger) failed: Access denied for user: 'root@ginger' (Using password: YES) at t/mysql2.t line 23 Can't call method "getserverinfo" on an undefined value at t/mysql2.t line 24. t/mysql2............dubious Test returned status 255 (wstat 65280, 0xff00) t/mysql.............Mysql->connect(database=test;host=ginger) failed: Access denied for user: 'root@ginger' (Using password: YES) at t/mysql.t line 48 not ok 1: Access denied for user: 'root@ginger' (Using password: YES) It looks as if your server (on ginger) is not up and running. This test requires a running server. Please make sure your server is running and retry. FAILED tests 1-68 Failed 68/68 tests, 0.00% okay Failed Test Status Wstat Total Fail Failed List of failed t/akmisc.t 10 2560 351 351 100.00% 1-351 t/mysql.t 68 68 100.00% 1-68 t/mysql2.t 255 65280 ?? ?? % ?? 1 test and 14 subtests skipped. Failed 3/17 test scripts, 82.35% okay. 419/709 subtests failed, 40.90% okay. make[1]: *** [test_dynamic] Error 29 make[1]: Leaving directory/usr/local/Msql-Mysql-modules-1.2216/mysql’
make: *** [test] Error 2