List:General Discussion« Previous MessageNext Message »
From:Reindl Harald Date:April 16 2013 5:31pm
Subject:Re: MySQL on Mac OS 10.8
View as plain text  
Am 16.04.2013 18:34, schrieb Larry Martell:
> I just set up mysql on Mac OS 10.8. Each time after the machine is
> rebooted the server fails to start with:
> 
> 2013-04-13 14:09:54 12222 [ERROR] /usr/local/mysql/bin/mysqld: Can't
> create/write to file '/var/run/mysqld/mysqld.pid' (Errcode: 2 - No
> such file or directory)
> 
> Because the /var/run/mysqld dir does not exist. I have to create it
> manually then the server starts. But I have to do this after each
> reboot, which is a pain. Anyone know why the /var/run/mysqld dir gets
> deleted, or how to get around this?

you need to consult your operating system's documentation
on linux with systemd it would be the following config

[root@srv-rhsoft:~]$ cat /etc/tmpfiles.d/mysql.conf
d /var/run/mysqld 0755 mysql mysql -


Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Thread
MySQL on Mac OS 10.8Larry Martell16 Apr
  • Re: MySQL on Mac OS 10.8Michael Dykman16 Apr
    • Re: MySQL on Mac OS 10.8Larry Martell16 Apr
  • Re: MySQL on Mac OS 10.8Reindl Harald16 Apr
    • Re: MySQL on Mac OS 10.8Larry Martell17 Apr
      • Re: MySQL on Mac OS 10.8Reindl Harald17 Apr
        • Re: MySQL on Mac OS 10.8Larry Martell17 Apr
          • Re: MySQL on Mac OS 10.8Kapil Karekar17 Apr
          • Re: MySQL on Mac OS 10.8Reindl Harald17 Apr