Unable to connect to mysql dB

Hi Team,

I’m unable to connect postman with MySQL server. as per given steps I had installed NPM MySQL packages.
When I’m hitting below command getting error "cache init failed during database reading xmsql"

Command : xmysql -h localhost -u mysqlUsername -p mysqlPassword -d databaseName

I have username, password and dB name.
I’m not sure what is localhost here? do I need to keep it as is or I will get hostname in cmd prompt after hitting command as “hostname”

Please assist.

[ Steps followed : https://documenter.getpostman.com/view/5922408/RznJmGfn?version=latest#3ea22b15-8801-4817-a426-93878438702f ]