4 MINDS

4MINDS Gestão de Conhecimento

Can't connect to MySQL server on 'localhost' (10055)"



Erro ao acessar MySQL em um servidor Windows 2012 Server

Descrição do erro:

Could not start server: [Errno 10022] mysql
Can't connect to MySQL server on 'localhost' (10055)"


A solução é criar uma nova chave de registro no Windows

  1. Start Registry Editor.
  2. Locate the following subkey in the registry, and then click Parameters:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
  3. On the Edit menu, click New, and then add the following registry entry:
    Value Name: MaxUserPort
    Value Type: DWORD
    Value data: 65534
    Valid Range: 5000-65534 (decimal)
    Default: 0x1388 (5000 decimal)
    Description: This parameter controls the maximum port number that is used when a program requests any available user port from the system. Typically, ephemeral (short-lived) ports are allocated between the values of 1024 and 5000 inclusive. After the release of security bulletin MS08-037, the behavior of Windows Server 2003 was changed to more closely match that of Windows Server 2008 and Windows Vista. For more information about Microsoft security bulletin MS08-037, click the following article numbers to view the articles in the Microsoft Knowledge Base:

Link http://support.microsoft.com/en-us/kb/196271