Announcement

Announcement Module
Collapse
No announcement yet.

12.04 Not starting using init.d scripts

Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 12.04 Not starting using init.d scripts

    I have a brand new Ubuntu 12.04 server and installed Percona Server from the apt repo from percona.com.

    It all installed fine but will not complete starting using the "service mysql start" command.

    The server is started though and listening on IP but I get the following error when trying the following...

    mysqladmin --defaults-file=/etc/mysql/debian.cnf ping
    mysqladmin: connect to server at 'localhost' failed
    error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
    Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!

    Seems to be an issue with the socket which is created with permissions wide open.

  • #2
    The socket is by default readable by all users.

    Is this a fresh install or was there any other MySQL version before?

    Please include output of these commands:

    ps aux|grep mysqlgrep -C2 socket /etc/mysql/my.cnf

    Comment

    Working...
    X