Mysql error when trying remote backup

Hey all

(2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)")

That’s the error in a nutshell
I can fetch the accounts but this prevent me from moving them over

I could do it manual but then it is a lot of work to restore the databases and dns entry’s and fixing the postfix email accounts and so on

Also it is a centos to Ubuntu so just ”moving” files won’t work eather

Thank you
Greetings from PowerChaos