Bug #40000 Unclear error message in sql-bench/run-all-tests

Submitted: 13 Oct 2008 13:49 Modified: 3 Jun 2009 10:12
Reporter: c j Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Tests Severity:S4 (Feature request)
Version:5.0.67, 4.1, 5.0, 5.1, 6.0 bzr OS:Other (Ubuntu 7.10)
Assigned to: CPU Architecture:Any
Tags: dbi, run-all-tests, sql-bench, test, unknown database

[13 Oct 2008 13:49] c j
Description:
$ sudo perl run-all-tests --user=root

Got error: 'Unknown database 'test'' when connecting to DBI:mysql:database=test;host=localhost with user: 'root' password: ''

How to repeat:
issue command, from a brand new 7.10 CD install, with LAMP enabled, and apt-get upgrade issued.

Suggested fix:
A more explaining error message would be appeciated, to be able to understand what is happening and how to correct the erro situation.
[3 Jun 2009 10:12] Sveta Smirnova
Thank you for the feature request.

Current message is just answer from MySQL server and looks clear enough, although I agree it can confuse users who are not familiar with Perl DBI

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.100 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
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.