Connect file between server and MySQL