This is the old SliTaz forum - Please use the main forum.slitaz.org

Installation MySQL
  • rutgerrutger January 2011
    I cannot run mysql in cooking.

    When i start mysql then i get the following message: ERROR 2002 (HY000): Can't connect to local MySQL server through socket 'var/run/mysqld/mysqld.sock' (2)

    When i install mysql by tazpkg, then everything goes well, exept i get a message 'chown: unknown user/group mysql:mysql'.

    What do I have to do to get MySQL working?
  • ErjoErjo January 2011
    Hi,

    Fix permissions on /var/run/mysql and restart the daemon

    # chown -R mysql.nogroup /var/run/mysqld
    # /etc/init.d/mysql restart



  • rutgerrutger January 2011
    Thanks, it works. Is it a bug that the permissions are not set correct on installation?
  • ErjoErjo January 2011

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social