Service Level Agreement
Terms of Service
mysqldump in the following way:mysqldump must be compatible with the SQL specification of your purchased TDSQL-C for MySQL database. You can log in to the database and get the MySQL version information by running the select version(); command. The name of the generated SQL file can contain letters, digits, and underscores but not "test".shell > mysqldump [options] db_name [tbl_name ...] > bak_pathname
options is the export option, db_name is the database name, tbl_name is the table name, and bak_pathname is the export path.
For more information on how to export data with mysqldump, see mysqldump — A Database Backup Program.shell > mysql -h hostname -P port -u username -p < bak_pathname
hostname is the target server for data restoration, port is the port of target server, username is the username of the database on the target server, and bak_pathname is the full path to the backup file.``--default-character-set``.

db_blog database in TencentDB for example, log in to the CVM instance and generate the SQL file to be imported with the MySQL command line tool "mysqldump".


Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários