code: def validate_instance_dbname(self, dbname):
          ''' Validate instance database name '''
          # 1-64 alphanumeric characters, cannot be a reserved MySQL word
          if re.match('[\w-]+$', dbname) is not None:
              if len(dbname) <= 41 and len(dbname) >= 1:
                  if dbname.lower() not in MYSQL_RESERVED_WORDS:
                      return True
          return '*** Error: Database names must be 1-64 alphanumeric characters,\
              cannot be a reserved MySQL word.f validate_instance_dbname(self, dbname):
          ''' Validate instance database name '''
          # 1-64 alphanumeric characters, cannot be a reserved MySQL word
          if re.match('[\w-]+$', dbname) is not None:
              if len(dbname) <= 41 and len(dbname) >= 1:
                  if dbname.lower() not in MYSQL_RESERVED_WORDS:
                      return True
          return '*** Error: Database names must be 1-64 alphanumeric characters,\
              cannot be a reserved MySQL word.'
docs: Validate instance database name