Level 88
What have you tried so far?
In general, you simply perform a raw MySQL command that greatest the database for you. You can do it with Laravel if you make a custom command and perform that command on the server and then migrate the database with the new credentials.