Report this

What is the reason for this report?

Why am I not able to run a mysql server on my debian droplet?

Posted on December 8, 2013

When it asks me to input a new root password for the main mysql user, it says that it can’t set a password because a password is already set or because it can “contact the mysql server” and then when it’s supposed to start the server, it prompts the following error:

http://pastebin.com/35pCkkJk

Thank you in advance guys



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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Have you check out the MySQL sections of either: <br> <br>1.) <a href=“https://www.digitalocean.com/community/articles/how-to-install-linux-nginx-mysql-php-lemp-stack-on-debian-7”>How To Install Linux, Nginx, MySQL, PHP (LEMP) Stack on Debian 7</a>; or <br> <br>2.) <a href=“https://www.digitalocean.com/community/articles/how-to-install-linux-apache-mysql-php-lamp-stack-on-debian”>How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Debian</a>?

When I run “apt-get install mysql-server” and it fails to run the new mysql server, on the process it outputed the following error: <br> <br> <br>131208 17:34:18 InnoDB: Using Linux native AIO <br>/usr/sbin/mysqld: Can’t create/write to file ‘/tmp/ibxGZpzM’ (Errcode: 13) <br>131208 17:34:18 InnoDB: Error: unable to create temporary file; errno: 13 <br> <br> <br>We have been having permissions problems, which aren’t solved yet, on our debian droplet. <br>Even with this error, I tried to run “mysql_install_db” but it’s giving the same error.

Have you tried? <br><pre>sudo apt-get -y install mysql-server</pre>

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.