MySQL Forums
Forum List  »  General

Getting Shared Memory to work on Windows
Posted by: Michael Kragh Pedersen
Date: September 25, 2016 08:57AM

I've been trying to get shared memory to work with MySQL 5.7 on Windows 7, but I keep getting the same error all the time.

"ERROR 2046 (HY000): Can't open shared memory; cannot send request event to server (5)"

Here is the relevant part of the my.ini file:
"skip-networking

#enable-named-pipe

shared-memory

shared-memory-base-name=MySQL_SM

# The TCP/IP Port the MySQL Server will listen on
# port=3306"

I have tried uncommenting both the named pipe and port to try to get it to work in MySQL Workbench, and I have also tried running the following command from the command line:

"mysql --protocol=memory --shared-memory-base-name=MySQL_SM -u root"

And it is in the command line I get the above error. Has anybody successfully connected to shared memory in Windows, and so can tell me what I need to do to get it to work?

Options: ReplyQuote


Subject
Written By
Posted
Getting Shared Memory to work on Windows
September 25, 2016 08:57AM


Sorry, you can't reply to this topic. It has been closed.

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.