Question

MySQL Start Error

  • Posted October 29, 2021
  • MySQL

i run sudo service mysql start

it show

Job for mysql.service failed because a fatal signal was delivered to the control process. See “systemctl status mysql.service” and “journalctl -xe” for details.

so i run journalctl -xe

Unable to negotiate with 198.98.54.17 port 43878: no matching key exchange method found. Their offer: diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 [preauth] Unable to negotiate with 198.98.54.17 port 45606: no matching key exchange method found. Their offer: diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 [preauth] Unable to negotiate with 198.98.54.17 port 47328: no matching key exchange method found. Their offer: diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 [preauth] Unable to negotiate with 198.98.54.17 port 49058: no matching key exchange method found. Their offer: diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 [preauth] Unable to negotiate with 198.98.54.17 port 50784: no matching key exchange method found. Their offer: diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 [preauth] Unable to negotiate with 198.98.54.17 port 52528: no matching key exchange method found. Their offer: diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 [preauth] Unable to negotiate with 198.98.54.17 port 54234: no matching key exchange method found. Their offer: diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 [preauth] Unable to negotiate with 198.98.54.17 port 55962: no matching key exchange method found. Their offer: diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 [preauth] pam_unix(cron:session): session opened for user root by (uid=0) (root) CMD ( cd / && run-parts --report /etc/cron.hourly) pam_unix(cron:session): session closed for user root Unable to negotiate with 198.98.54.17 port 57730: no matching key exchange method found. Their offer: diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 [preauth] error: kex_exchange_identification: Connection closed by remote host error: kex_exchange_identification: Connection closed by remote host

What happened to my MySQL?

Subscribe
Share

Submit an 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.

Hi @yudijohn,

I’m not sure the messages you see in your journal were specifically for your MySQL instance.

I’ll recommend checking the MySQL error log file. If you have a standard MySQL installation, your log should be in /var/log/mysql in there, check the error.log file and see the exact problem behind your failed MySQL.

If you want you, you can share the error here and we’ll try to help.