Not sure how fair it is to ask for such fix in repo that is problematic piece as a dependency, but assuming that FiveM users do not have direct control over node code (or want to use it as-is) - I ...
As you can see, there should not be a mysql protocol specifier at the beginning, and there is a tcp clause missing. Also, please note that you should change the time zone in the query string to match ...
Using using Win 7 Home Premium, I can connect using a standard account, but Guest cannot, using exact same connection string. Mysql Query Browser does not have this problem, so it's obviously possible ...