i have this error when i`m executing a chan.send command :

this is my script:
chan.send("mysql --user='test' --password=mypw --database='bugs_mogis' --execute='select login_name, realname, last_seen_date from profiles where disabledtext = "";'")
chan.send('\n')
time.sleep(1)
resp = chan.recv(9999)
output = resp.decode('ascii').split(',')
print (''.join(output))
chan.close()
It`s strange cause in "putty" this command works but also i have this error
