Skip to content

how can i restart mysql service and properly configuration for mysql[i].default_socket? #2

@bolerap

Description

@bolerap

Hi all,
As title, i'm using your image to run a php app but got error can not connect to mysql (err: 2002). I'm search ing and know the issue is by wrong confi of mysql[i].default_socket I've change it to /run/mysqld/mysqld.sokcet in /etc/php5/php.init but i can't confirm that it true and i don't know to restart mysql service. I tried with rc-service mysql/mysqld restart but bot failed.
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions