So, I am trying to connect my external database to my bot using the ‘mysql’ Node Package. Previously, I had to flush hosts due to too many connection errors. Now, after doing it again, I am totally locked out.
throw err; // Rethrow non-MySQL errors
Error: ER_HOST_NOT_PRIVILEGED: Host ‘ec2-107-20-54-45.compute-1.amazonaws.com’ is not allowed to connect to this MariaDB server
I hope you can help, thanks.