Help with mysql and install script


hello everyone, i have tried for my aunt to setup at FiveM server, The server work’s and i installed essential and it works, but i have trouble to install mysql and figure out how to do so it save your logout. I added couchDB to the server. and i created a login but i feel abit lost