dep. inj. to allow access to mysql from router

I hope it is implemented properly