Unsupported Screen Size: The viewport size is too small for the theme to render properly.

Shared Memory Connection Protocol

forums forums SQLyog SQLyog: Bugs / Feature Requests Shared Memory Connection Protocol

  • This topic is empty.
Viewing 0 reply threads
  • Author
    Posts
    • #34262
      sathish
      Member

      We use the MySQL C connection API – mysql_real_connect() to connect to MySQL.

      According to the MySQL documentation

      Quote:
      If host is NULL or the string “localhost”, a connection to the local host is assumed. For Windows, the client connects using a shared-memory connection, if the server has shared-memory connections enabled. Otherwise, TCP/IP is used.

      So, this API automatically detects the connection protocol (using the rules above) and connects using it. Therefore you should not specify “localhost” if you are using shared memory.

      We will also look into this and see if there is anyway we can force a specific type of connection, but for now you should specify the IP address rather than “localhost”.

Viewing 0 reply threads
  • You must be logged in to reply to this topic.