Awesome q2a theme

Stopped working after mysql upgrade to ubuntu?

0 like 0 dislike
48 views
Hello,

Suddenly there was such problem, has been updated to 18.04 on ubuntu and then stopped working mysql. Tried to reinstall - did not help.

Log the following error:

May 04 03:06:57 rejuv-Aspire-V3-571G systemd[1]: mysql.service: Start request repeated too quickly.
May 04 03:06:57 rejuv-Aspire-V3-571G systemd[1]: mysql.service: Failed with result 'exit-code'.
May 04 03:06:57 rejuv-Aspire-V3-571G systemd[1]: Failed to start MySQL Community Server.

When trying to enter "mysql -u root", writes the following: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'. If you write "sudo find / type-s", then mysql there either. Folder mysqld in /var/run at all ostustvuet. If I create it manually after startup it is automatically deleted.

If you open the config file, then in Basic Settings shows that it refers to the folder that was missing.

Someone faced similar problem? How can this be solved?(
by | 48 views

2 Answers

0 like 0 dislike
The problem was solved this way:

Download the mysql-apt-conf tool from dev.mysql.com/downloads/repo/apt
Install the package using sudo dpkg-i /PATH/version-specific-package-name.deb
When installing select the MySQL Server & Cluster to whatever you want by pressing enter and selecting one of mysql or mysql 5.7-8.0 then go to Ok and press enter
Run sudo apt install mysql-server
After the main packages are installed run sudo mysql_secure_installation, this will configure the password and other security stuff for mysql
by
0 like 0 dislike
You do not look muscula logs and the logs of systemd, check the logs in the muscle(in the folder /var/log) there should be more information
by

Related questions

0 like 0 dislike
3 answers
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
110,608 questions
257,187 answers
0 comments
40,796 users