Infrastructure 2017-10-01

MySQL 'MySQL Daemon failed to start' on Vagrant

Fix MySQL daemon startup failures in Vagrant by adjusting innodb_log_file_size and InnoDB configuration settings.

Read in: ja
MySQL 'MySQL Daemon failed to start' on Vagrant

While repeatedly running migrations and importing SQL files with Laravel, and interrupting them recklessly, MySQL started acting up.

Solution

It was resolved by setting the log size in the MySQL configuration file.

innodb_log_file_size=5M

Thoughts

Let's avoid reckless actions!

References

Tags: MySQL Vagrant Tips
Share: 𝕏 Post Facebook Hatena
✏️ View source / Discuss on GitHub
☕ Support

If you enjoy this blog, consider supporting it. Every bit helps keep it running!


Related Articles