Mysql manager of pid file quit without updating dating at age 50
Please take note that you need to run mysql_install_db from the with top level of the mysql directory (IE, usr/local/Cellar/mysql/5.5.25).
Running it directly within the /scripts directory does not give it enough context for it to run.
[mysqld] port = 3306 socket = /tmp/skip-external-locking key_buffer_size = 16K pid-file=/var/run/mysqld/[mysqld_safe] log-error=/var/log/pid-file=/var/run/mysqld/The solution that worked for me was here: https://serverfault.com/questions/334284/cant-create-pid-file-on-mysql-server-permission-denied Changing some of my permissions seemed to do the trick.
I'm running a Mid-2012 Macbook Air with OS X 10.8.2 and mysql was installed with homebrew.
After checking the file i saw the logged error that another copy of mysql may be running, after terminating the old service. sudo mkdir /var/mysql sudo ln -s /tmp//var/mysql/Well Done : ) This Help me A LOT!Would you like to answer one of these unanswered questions instead?Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. But then after that, the PID file gets deleted and the err file either shows up again if deleted or just removes my ownership. Is there another work around for installing My SQL on OS X Mavericks?2017-04-11 9815 [Note] Plugin 'FEDERATED' is disabled.2017-04-11 9815 [Note] Inno DB: Using atomics to ref count buffer pool pages 2017-04-11 9815 [Note] Inno DB: The Inno DB memory heap is disabled 2017-04-11 9815 [Note] Inno DB: Mutexes and rw_locks use GCC atomic builtins 2017-04-11 9815 [Note] Inno DB: Memory barrier is not used 2017-04-11 9815 [Note] Inno DB: Compressed tables use zlib 1.2.3 2017-04-11 9815 [Note] Inno DB: Using Linux native AIO 2017-04-11 9815 [Note] Inno DB: Using CPU crc32 instructions 2017-04-11 9815 [Note] Inno DB: Initializing buffer pool, size = 128.0M 2017-04-11 9815 [Note] Inno DB: Completed initialization of buffer pool 2017-04-11 9815 [Note] Inno DB: Highest supported file format is Barracuda.