Skip to content

Mysql server not starting #1

@james75

Description

@james75

Running the image with:

docker run -p 8080:8080 logicaldoc/logicaldoc-ce-mysql

Seems to have an error starting the mysql

*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
*** Running /etc/my_init.d/01_mysql.sh...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of stop.
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of stop.
update-alternatives: warning: forcing reinstallation of alternative /etc/mysql/mysql.cnf because link group my.cnf is broken
update-alternatives: warning: not replacing /etc/mysql/my.cnf with a link
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
2017-08-29T10:08:47.708601Z mysqld_safe Logging to syslog.
2017-08-29T10:08:47.711027Z mysqld_safe Logging to '/var/log/mysql/error.log'.
2017-08-29T10:08:47.713512Z mysqld_safe Logging to '/var/log/mysql/error.log'.
2017-08-29T10:08:47.730138Z mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
2017-08-29T10:08:49.164274Z mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
*** /etc/my_init.d/01_mysql.sh failed with status 1

*** Killing all processes...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions