Reasonable idea. I've seen several want to build off of ULib/ULX for multiple servers.
I don't see this as an idea for inclusion into ULib by default, but an extra module for ULib would be a good idea.
Just look into the code used by UBan. Build off of it, make it easy to swap among different SQL solutions (MySQL, MS-SQL, SQLite, X, Y, Z)
I think MrPresident at one time used some sharing across servers for various things. Though I've not seen him in action around here, you may check his forums. A good friend of his, TheBigA, had quite a bit of Lua skill... may know how MrP tied it into SQL too if MrP isn't visiting there as much.