[Installation] Unable to restart service mysql

Hi i am trying to install erpnext with an ubuntu 16 os via the quick install method, after i download the install.py file i keep getting an error

RUNNING HANDLER [mariadb : restart mysql] **************************************
fatal: [localhost]: FAILED! => {“changed”: false, “msg”: “Unable to restart service mysql: Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.\n”}

NO MORE HOSTS LEFT *************************************************************
to retry, use: --limit @/tmp/.bench/playbooks/site.retry

PLAY RECAP *********************************************************************
localhost : ok=37 changed=25 unreachable=0 failed=1

Traceback (most recent call last):
File “install.py”, line 420, in
install_bench(args)
File “install.py”, line 122, in install_bench
run_playbook(‘site.yml’, sudo=True, extra_vars=extra_vars)
File “install.py”, line 338, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, ‘playbooks’))
File “/usr/lib/python2.7/subprocess.py”, line 541, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘ansible-playbook’, ‘-c’, ‘local’, ‘site.yml’, ‘-e’, ‘@/tmp/extra_vars.json’, ‘–become’, ‘–become-user=ebuka’]’ returned non-zero exit status 2

i really have no idea where to start debugging from, help from here will be deeply appreciated.

Seems mariadb is not running. Please restart the mariadb and then create a new site manually

Fixed the issue by manually uninstalling and reinstalling mariaDB