you can install phpmyadmin in your main server, it's better to know how to edit and manage your sql data
you can also upgrade XC to 22F, i think r21 not very safe.
or you can just install miniphpadmin
then send it to /home/xtreamcodes/iptv_xtream_codes/wwwdir
then login to page web
http://your_m3u_dns:your_port_m3u/phpminiadmin.php
you can know the information login by this command
/home/xtreamcodes/iptv_xtream_codes/pytools/config.py && python config.py DECRYPT
if you get error
-bash: /home/xtreamcodes/iptv_xtream_codes/pytools/config.py: Permission denied
go to it /home/xtreamcodes/iptv_xtream_codes/pytools/config.py and chmod 755