Then all the database info will be present as seen below
Second Way:
When on the database info tab (as shown below). Click on the FiveM Connection string and it will copy it for you. You then need to past it in your server.cfg and it will work. NOTE: If you rotate your password that string will auto update