Bug #15179 Lost connection to MySQL server when trying to create a db
Submitted: 23 Nov 2005 10:20 Modified: 23 Nov 2005 14:24
Reporter: [ name withheld ] Email Updates:
Status: Can't repeat Impact on me:
Category:MySQL Server Severity:S2 (Serious)
Version:4.1.11 OS:Linux (Debian)
Assigned to: MySQL Verification Team CPU Architecture:Any

[23 Nov 2005 10:20] [ name withheld ]
When trying to create a new database with the name of an existing db the server crashes with "#2013 - Lost connection to MySQL server during query".

Normally, the message should be "#1007 - Can't create database 'xyz'; database exists"

How to repeat:
Try to create a new database with a name already used by another db.
[23 Nov 2005 14:24] MySQL Verification Team
I was unable to repeat with current source server, however your version
is very older, could you please do an update and verify if the issue
continues. Thank you.

miguel@hegel:~/dbs/4.1> bin/mysql -uroot
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 4.1.16-debug-log

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

mysql> create database test;
ERROR 1007 (HY000): Can't create database 'test'; database exists