Ok guys @mfaure @fabrice fixed it! Apparently the problem was permission rights and after searching, i run sudo chown -R mysql:mysql /var/lib/mysql and the problem was solved.