when i perform query like show databases or show tables it shows outputs in something called byte array. i want the output in normal String form . can someone tell how can i fix this
def tab(x,y):
x=[]
mycursor.execute("Show databases") #Selecting Database
l=list(mycursor.fetchall())
print(l)
```````output``
(bytearray(b'capital'),) (bytearray(b'capital_user'),) (bytearray(b'information_schema'),) (bytearray(b'mysql'),) (bytearray(b'performance_schema'),) (bytearray(b'sys'),)