If you want to enable mysql error log then explicitly you have to enable option /etc/my.cnf file and after that you have to restart mysql service.
You have to follow below steps:
Login to server via SSH as root.
Here check your /etc/my.cnf file and add below line in [mysqld] section...