adds interface to mysql