I set up a MySQL Database and could access it from my domain. Then I created a new subdomain and tried to access my DB with it, but I have no luck. I entered the subdomain and the subdomain ip in the allowable users list of my DB but accessing the DB with the subdomain doesn't succeed.
In the browser I found this console output: Cross-Origin Request blocked. Reason: CORS-Header 'Access-Control-Allow-Origin' is missing.
This might just be a security measurement but what can I do in order to make the communication between the DB and the subdomain work?