Bug #6644 Error when trying to connect via shared memory on clean 4.1 install
Submitted: 15 Nov 2004 22:03 Modified: 17 Nov 2004 3:02
Reporter: Mike Hillyer Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S2 (Serious)
Version:4.1.7 OS:Windows (Windows XP SP2)
Assigned to: CPU Architecture:Any

[15 Nov 2004 22:03] Mike Hillyer
Description:
When I install MySQL 4.1 and try to connect with the following:

mysql -u root -p --protocol=memory

I receive the following error:

ERROR 2038 (HY000): Can't open shared memory; client could not create request event (5)

A similar error is encountered with mysqldump.

SHOW VARIABLES shows the following:

| shared_memory                          | ON                      |
| shared_memory_base_name         | MYSQL                |

Showing that shared memory is activated on the server.

How to repeat:
Install 4.1.7 on Windows, add 'shared-memory' to the my.ini file, attempt to connect with:

mysql -u root -p --protocol=memory

Suggested fix:
None at this time.
[17 Nov 2004 3:02] MySQL Verification Team
I wasn't able to repeat:

c:\mysql\bin>mysql -u root -p --protocol=memory
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2 to server version: 4.1.7-nt-log

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

mysql> show variables like "%shared%";
+-------------------------+-------+
| Variable_name           | Value |
+-------------------------+-------+
| shared_memory           | ON    |
| shared_memory_base_name | MYSQL |
+-------------------------+-------+
2 rows in set (0.07 sec)

mysql>