Not the answer you need?
Register and ask your own question!

Fresh installation on Vagrant fails

wireddudewireddude EntrantInactive User Role Beginner
Hi I did a clean installation on ubuntu64 via vagrant and every time i start it keeps failing. I'm not a pro so I would appreciate some noob friendly guidelines. I followed the guidelines from here https://www.digitalocean.com/community/tutorials/how-to-install-a-fresh-percona-server-or-replace-mysql
[email protected]:/$ sudo service mysql stop
* Stopping MySQL (Percona Server) mysqld [ OK ]
[email protected]:/$ sudo service mysql start
* Starting MySQL (Percona Server) database server mysqld [fail]
[email protected]:/$

Comments

  • scott.nemesscott.nemes MySQL Sage Current User Role Patron
    Hi wiredude;

    For more information you'll need to look in your MySQL error log and post those details here. It is probably located in /var/lib/mysql/ unless you changed the location in your configuration file.

    That aside, the most likely culprit is AppArmor. So a quick test for that is to see if you are running it, and if so disable it temporarily. Then if MySQL starts, you know you need to update your AppArmor config to accommodate it (or disable AppArmor, but that is up to you since it is meant to "increase security").

    https://help.ubuntu.com/community/AppArmor

    -Scott
  • jriverajrivera Percona Support Engineer Percona Staff Role
    Aside from Scott's suggestion of disabling Apparmor, you might want to check how much RAM was allocated for the vagrant VM. I've had a fair share of these errors when I noticed that the vagrant VM was allocated with a small amount of RAM.
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.