Unable to create POS Profile

Unable to setup a POS Profile
Reason:

  1. The created profile doesn’t get saved

Error Report:

Error Report

Python 2.7.12: /home/frappe/frappe-bench/env/bin/python (prefix: /home/frappe/frappe-bench/env)

Timestamp:

2020-01-17 22:40:13.332669

Relapsed

4

Exception

args (2003, “Can’t connect to MySQL server on u’localhost’ ([Errno 111] Connection refused)”)
message ‘’
original_exception error(111, ‘Connection refused’)
traceback ‘Traceback (most recent call last):\n File "/home… raise err\nerror: [Errno 111] Connection refused\n’

Locals

e error(111, ‘Connection refused’)
exc OperationalError(2003, “Can’t connect to MySQL s…n u’localhost’ ([Errno 111] Connection refused)”)
kwargs {}
self
sock None

do bench migrate, bench build and then try again