Skip to main content

Posts

Featured

mysql.service failed because the control process exited with error code.

These are the steps I took to correct this: Back up your my.cnf file in /etc/mysql and remove or rename it sudo mv /etc/mysql/my.cnf /etc/mysql/my.cnf.bak Remove the folder /etc/mysql/mysql.conf.d/ using sudo rm -r /etc/mysql/mysql.conf.d/ Verify you don't have a my.cnf file stashed somewhere else (I did in my home dir!) or in /etc/alternatives/my.cnf use sudo find / -name my.cnf Now reinstall every thing sudo apt purge mysql-server mysql-server-5.7 mysql-server-core-5.7 sudo apt install mysql-server In case your syslog shows an error like "mysqld: Can't read dir of '/etc/mysql/conf.d/'" create a symbolic link: sudo ln -s /etc/mysql/mysql.conf.d /etc/mysql/conf.d Then the service should be able to start with sudo service mysql start. Credits 

Latest Posts

Linux Distros Benchmark

Flipkart phone exchange rejected due to invalid SAR values. *#07#

Stable firmware for ThiEye T5 and T5e action cam/dash cam

Extremely slow WiFi speed in Xiaomi/ Mi / Redmi phones.

Stop BSNL FTTH redirecting unsecure links to malicious websites.

Can you charge a laptop through the type-C port of a Ryzen laptop?

Why Need For Speed (NFS) The Run is the best racing game ever built.

Intelligence Bureau of India acting dumb!

Ordering a laptop from USA to Kuwait via DHL EasyShop

Dell Inspiron 5505 low brightness bug