Pass database name as an argument.