Can't start the game it just crashes and says it cant open database

can start up the game

What you mean with ‘‘Can start up the game’’?

go to your fiveM installation folder go to cache folder find the folder called ‘db’ delete it and restart your FIVEM