Error in query: SELECT * FROM centres WHERE centre_id=10. Too many connections