root@ds-server:~# systemctl status mysql.service -l
● mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
Active: activating (start-pre) since Thu 2017-05-18 17:48:16 IST; 2min 12s ago
Control: 26564 (mysql-systemd-s)
Memory: 1.0M
CPU: 265ms
CGroup: /system.slice/mysql.service
└─control
├─26564 /bin/bash /usr/share/mysql/mysql-systemd-start pre
└─27081 sleep 1
May 18 17:48:16 ds-server.helpchatdev.in mysql-systemd-start[26564]: 2017-05-18T12:18:16.088564Z 0 [ERROR] --initialize specified but the data directory has files in it. Aborting.
May 18 17:48:16 ds-server.helpchatdev.in mysql-systemd-start[26564]: 2017-05-18T12:18:16.088578Z 0 [ERROR] Aborting
May 18 17:48:16 ds-server.helpchatdev.in su[26579]: Successful su for mysql by root
May 18 17:48:16 ds-server.helpchatdev.in su[26579]: + ??? root:mysql
May 18 17:48:16 ds-server.helpchatdev.in su[26579]: pam_unix(su:session): session opened for user mysql by (uid=0)
May 18 17:48:16 ds-server.helpchatdev.in mysql-systemd-start[26564]: 2017-05-18T12:18:16.314593Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
May 18 17:48:16 ds-server.helpchatdev.in mysql-systemd-start[26564]: 2017-05-18T12:18:16.578165Z 0 [Warning] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key
May 18 17:48:16 ds-server.helpchatdev.in mysql-systemd-start[26564]: 2017-05-18T12:18:16.578630Z 0 [ERROR] Could not create unix socket lock file /var/run/mysqld/mysqld.sock.lock.
May 18 17:48:16 ds-server.helpchatdev.in mysql-systemd-start[26564]: 2017-05-18T12:18:16.578636Z 0 [ERROR] Unable to setup unix socket lock file.
May 18 17:48:16 ds-server.helpchatdev.in mysql-systemd-start[26564]: 2017-05-18T12:18:16.578638Z 0 [ERROR] Aborting
root@ds-server:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=15.10
DISTRIB_CODENAME=wily
DISTRIB_DESCRIPTION="Ubuntu 15.10"
root@ds-server:~#