Use callremotefunction to send the MySQL connection ID to other files so that you don't have to be connecting over and over.
Then I'd much rather use a second user to connect. Provided that this also doesn't return the same connection id ... If two scripts have the same MySQL callback, how does the plugin know where to return to?