By media1
I just created a new droplet, changed the MySQL root password and restarted the server with the reboot command. Now, MySQL isn’t running, and when I try to run it, I get this:
* Starting MySQL database server mysqld [fail]```
So I tried checking the status and I get this.
```# mysqladmin status
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!```
Any ideas here? This is a brand new droplet with minimal modifications. All I've done is upload some files into ```/var/www``` and configure and startup one vhost.
Thanks.
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!
Nothing happens when I type:
# sudo tail -30 /var/log/mysql.err
Does that mean that the error log is empty?
I just created a new Droplet exactly the same, except without local networking, and it seems to be working now. Thanks for the command, I’ll keep that one handy.
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.