I have been following the steps in these tutorials: https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-with-rvm-on-ubuntu-16-04 https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-16-04
I am at step 2 of the MySQL setup, where I am instructed to run sudo mysql_secure_installation. Unfortunately, I encounter the following error:
Process: 12721 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exi ted, status=1/FAILURE)
This is my first time deploying a Rails application and I don’t have much idea how to interpret/solve technical problems like this. I just want to deploy my app. Can anyone help?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Can you show the last 40 lines from the MySQL error log?
tail -40 /var/log/mysql/error.log
It might be crashing because of low RAM - how much do you have in your droplet?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.