@Tiagoluz we need more information, like the OS your main fog server is using. Concerning that problem, If it’s Ubuntu, odds are you simply need to enable remote access for the fogstorage mysql user. Also, this article outlines all of that as well as other troubleshooting.: https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_MySQL#Easy_.26_quick_MySQL_test