The output of the script executed with pexpect is correct, but there is no execution result.

import pexpect
child = pexpect.spawn ("mysqldump-u root-p ELA highest > / home/teddy/test.sql")
index = child.expect ("Enter password:")

print (index)
if (index! = 0):

print ("ftp login failed")
child.close(force=True)

else:

print(child.after)
child.sendline("!Wf}6e4d)~=-5}k")-sharpmysql

output:
0
b"Enter password:"

The

output looks correct, but there is no exported sql file.
what should I do

Mar.31,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e49494-592a7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e49494-592a7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?