Subject: | mysql test hangs after shutting down the daemon |
t/20-sql.t hangs in the mysql phase. I'm running this on a debian
unstable system with:
mysql-server:
Installed: 5.0.75-1
output from prove -bv t/20-sql.t:
t/20-sql....
1..42
ok 1 - The object isa DBI::db
ok 2 - DBM(): CREATE TABLE users (id INTEGER, name CHAR(64))
ok 3 - DBM(): INSERT INTO users (id, name) VALUES (1, 'book')
ok 4 - DBM(): INSERT INTO users (id, name) VALUES (2, 'echo')
ok 5 - DBM(): SELECT id, name FROM users
ok 6 - DBM(): DROP TABLE users
ok 7 - DBM(): dbh cached
ok 8 - The object isa DBI::db
ok 9 - DBM(test): CREATE TABLE users (id INTEGER, name CHAR(64))
ok 10 - DBM(test): INSERT INTO users (id, name) VALUES (1, 'book')
ok 11 - DBM(test): INSERT INTO users (id, name) VALUES (2, 'echo')
ok 12 - DBM(test): SELECT id, name FROM users
ok 13 - DBM(test): DROP TABLE users
ok 14 - DBM(test): dbh cached
ok 15 - The object isa DBI::db
ok 16 - SQLite(): CREATE TABLE users (id INTEGER, name CHAR(64))
ok 17 - SQLite(): INSERT INTO users (id, name) VALUES (1, 'book')
ok 18 - SQLite(): INSERT INTO users (id, name) VALUES (2, 'echo')
ok 19 - SQLite(): SELECT id, name FROM users
ok 20 - SQLite(): DROP TABLE users
ok 21 - SQLite(): dbh cached
ok 22 - The object isa DBI::db
ok 23 - SQLite(test): CREATE TABLE users (id INTEGER, name CHAR(64))
ok 24 - SQLite(test): INSERT INTO users (id, name) VALUES (1, 'book')
ok 25 - SQLite(test): INSERT INTO users (id, name) VALUES (2, 'echo')
ok 26 - SQLite(test): SELECT id, name FROM users
ok 27 - SQLite(test): DROP TABLE users
ok 28 - SQLite(test): dbh cached
Installing MySQL system tables...
OK
Filling help tables...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h khazad-dum password 'new-password'
Alternatively you can run:
/usr/bin/mysql_secure_installation
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the manual for more instructions.
You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd mysql-test ; perl mysql-test-run.pl
Please report any problems with the /usr/bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
nohup: ignoring input
Starting mysqld daemon with databases from /tmp/Test-Database-martijn/mysql
mysqld_safe[23529]: started
STOPPING server from pid file /tmp/Test-Database-martijn/mysql/mysqld.pid
mysqld_safe[23539]: ended