SQL connection from remote host

  • @DZII


    Can you try (as root):

    Code
    1. # update-rc.d -f mysql remove
    2. # service mysql restart

    Then once done look again at the panel and retry to add a customer.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • 2 commands done you want me to try to add a customer again after that or just to be able to log back into panel ? Debug is also set now

  • @DZII


    The, problem seems fixed. This is a known bug with MySQL when the server is rebooted or restarted. This will be fixed in i-MSCP version 1.2.16. Right now, the problem should be fixed in your system but if you rerun the i-MSCP installer from 1.2.15, you'll have to rerun also these both commands ;)


    Explainations


    Current i-MSCP init providers enable both, mysql upstart job and mysql sysvinit script. The problem is that the sysvinit script from Ubuntu doesn't follow Debian policy section 9.1.11 and therefore, when server is rebooted, mysql upstart job and sysvinit are both executed which lead to missing mysql server socket.


    See also:

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206