Bug #184 USE without dbname should show an error or unselect default db
Submitted: 23 Mar 2003 12:10 Modified: 24 Mar 2003 8:01
Reporter: Georg Richter Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version:4.1 OS:Linux (Linux)
Assigned to: CPU Architecture:Any

[23 Mar 2003 12:10] Georg Richter
USE without databasename should show a correct error (like in previous versions) or better unselect the current selected database.

How to repeat:
mysql> USE
Error 1049: Unknown database '(not readable chars)'
[24 Mar 2003 8:01] MySQL Verification Team
Fixed in the latest BK tree:
[/mnt/work/mysql-4.1]$ ./client/mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2 to server version: 4.0.13-debug

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> use
USE must be followed by a database name