add local_create_database and local_destroy_database