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