Bug #65221 I cannot connect to MySQL with shared-memory via IP address
Submitted: 7 May 2012 8:27 Modified: 7 May 2012 11:36
Reporter: bingo meng Email Updates:
Status: Not a Bug Impact on me:
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version: OS:Microsoft Windows (xp sp2)
Assigned to: CPU Architecture:Any
Tags: IP address, remote, shared-memory

[7 May 2012 8:27] bingo meng
Server: my.cnf / my.ini:


# The TCP/IP Port the MySQL Server will listen on

shared-memory-base-name = MyName



 "mysql -h localhost -u root -p --procotol=memory --shared-memory-base-name=MyName"

  It successfully connect to MySQL with Memory procotol. I can use database and select anything.

But, when I use the following command line with IP address instead of localhost, it failed.

"mysql -h -u root -p --procotol=memory --shared-memory-base-name=MyName"
"mysql -h -u root -p --procotol=memory --shared-memory-base-name=MyName"

The root user had been granted all privileges on any remote client with '%'.
The localhost had been mapped to the IP address in the host file.
I tried to uncomment the "skip-networking", but It was invariable.

Can anyone help me to solve the problem?
Does the shared-memory connection only work for localhost? not for IP address or remote client.

How to repeat:
ERROR 2047(HY000): Wrong or unknown protocol
[7 May 2012 11:36] MySQL Verification Team
Thank you for the bug report. You are using skip-networking  which disables TCP/IP connections.