Report this

What is the reason for this report?

Mysql service is not working when trying to install . OS - Ubuntu 16.04 LTS.

Posted on December 25, 2016

I started a new vps , tried to install mysql . But it just hanging not working .

Setting up mysql-client-5.7 (5.7.16-0ubuntu0.16.04.1) ...
Setting up mysql-server-core-5.7 (5.7.16-0ubuntu0.16.04.1) ...
Setting up mysql-server-5.7 (5.7.16-0ubuntu0.16.04.1) ...
update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Renaming removed key_buffer and myisam-recover options (if present)

after this line its not working



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.

This question was answered by @Edwinna:

Hello! I’ve had the same issue. /var/log/mysql/error.log contains the

2017-01-25T11:11:11.305184Z 2 [ERROR] 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘tHUiHdybEwSS8907#’;’ at line 1

I’ve had a single quote in the password and that was providing me with the error. Reinstalling mySQL completely and choosing another password solved the problem.

View the original comment

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.