Let's start by stopping the currently running MySQL database.
$ sudo systemctl stop mysql.service
Next, create set proper permission to the folder to be used by MySQL process to store and access socket file.
$ sudo mkdir -p /var/run/mysqld
Let's start by stopping the currently running MySQL database.
$ sudo systemctl stop mysql.service
Next, create set proper permission to the folder to be used by MySQL process to store and access socket file.
$ sudo mkdir -p /var/run/mysqld