Basically, the way the server is set up, it doesn't allow MySQL from anywhere except for that allowed list. Since you were on Fris, and the Fris entry wasn't added to the allowed list, your script was denied MySQL access. Now that your server is on the allowed list, your script is granted MySQL access.