Script in python to manage connections with oracle and MySQL