Forum

Notifications
Clear all

Contabo VPS_MySQL database installation failed

truongwinner
(@truongwinner)
New Member

Hi,

I stack in MySQL database installation step.

Please help to fix these errors below

1. Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysql d.sock' (111)

2. Missing mysql.server file

My Operation System is Ubuntu 20.04 (64 Bit)

Thanks,

Quote
Topic starter Posted : 21/01/2021 7:28 am
Shah Awais
(@shahawais)
Trusted Member
Posted by: @truongwinner

Hi,

I stack in MySQL database installation step.

Please help to fix these errors below

1. Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysql d.sock' (111)

2. Missing mysql.server file

My Operation System is Ubuntu 20.04 (64 Bit)

Thanks,

Try to update your VPS by running

sudo apt update && apt upgrade -y

ReplyQuote
Posted : 14/06/2021 9:19 am
Makoye
(@makoye)
Eminent Member

It look like you didn’t start your database server, can you start it using #sevice mysql start

ReplyQuote
Posted : 07/07/2021 2:27 pm
Share: