Bug #1367 mysql crashes immediately (Error code 12: Cannot allocate memory)
Submitted: 21 Sep 2003 15:23 Modified: 23 Sep 2003 4:28
Reporter: [ name withheld ] Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S1 (Critical)
Version:4.0.15a OS:Linux (Linux RedHat 7.3)
Assigned to: CPU Architecture:Any

[21 Sep 2003 15:23] [ name withheld ]
Description:
Think I found a bug:

I compiled MySQL 4.0.15a for my RedHat 7.3 machine. I can start safe_mysqld without any problem but I can't connect to server using mysql or mysqladmin. I get the following error:

  ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (12)

perror says:

  Error code  12:  Cannot allocate memory

mysqld keeps on running, it *doesn't* crash, so I think it is a problem with mysql client.

'mysql.sock' gets created.

How to repeat:
.
[23 Sep 2003 4:28] Alexander Keremidarski
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.mysql.com/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to 'Open'.

Thank you for your interest in MySQL.

Please always fill in How-to-repeat section.

By the way the fact that mysql exits with error means it doesn't crash.
[23 Sep 2003 5:02] [ name withheld ]
How to repeat:

RedHat 7.3 standard installation
mysql-4.0.15a