Can't reset admin password

Can't reset admin password

I was setting up a new copy of SD Plus a while ago and got pulled onto something else, now I've come back to it I find I stupidly changed the administrator password and didn't make a note of it. I've done quote a lot of configuration so I'd rather not start again. This is build 10514

I've followed the procedure here - https://www.manageengine.com/products/service-desk/on-premises/faq/service-desk-administration.html#AdminUser13

But when I use the command - mysql.exe -u root -P 33366 servicedesk

I get the error - psql: FATAL:  no pg_hba.conf entry for host "::1", user "postgres", database "servicedesk", SSL off

So I'm a bit stuck. I'd be grateful for any suggestions.

Thankjs
David