Error Access Denied 1045

Need help for error message " (1045, “Access denied for user ‘root’@‘localhost’ (using password: NO)” and try access using http://ip.com:22222 not connected.

Have you opened port 22222 in your firewall?

Also please do a search first before asking a question, there are many similar posts about it and how to resolve it.