Database Error SQLSTATE[HY000] [2002] Connection refused

I think you cannot use the user “root”, try creating a new database user with all privilegies.

I had the same “root” user problem. It seems that for example maria db doesnt allow access with the root for security reasons or something…

Maybe there could be a check implement by neos that warns you if the username ‘root’ is choosen.