Implement change database for \c and use.