<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def select_db(self, db):
        '''Set current db'''
        yield self._execute_command(COMMAND.COM_INIT_DB, db)
        yield self._read_ok_packet()