If you want to export the database using the web interface, you can consider using phpmyadmin. If it is a GUI, it is recommended to use mysql workbeach. If it is the command line, use the official mysqldump. If you want to export through a script, it depends on the client API of the language you use
If it is Linux, you can use mysqldump
If it is Windows, you can use various tools to export the database
mysqldump -hx.x.x.x -uxxxx -pxxxx databasename > backdata.sql
If you want to export the database using the web interface, you can consider using phpmyadmin. If it is a GUI, it is recommended to use mysql workbeach. If it is the command line, use the official mysqldump. If you want to export through a script, it depends on the client API of the language you use