In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
The mysqldump client tool can perform logical backups, producing a series of SQL statements that can be executed. This tool allows you to backup one or more MySQL databases. The mysqldump command can also generate output files in CSV, delimiter, or XML format.
--Common parameters
--help, -? display help
--user=user_name, -u user_name The user name to use when connecting to MySQL servers
--password[=password], -p[password] Password to use when connecting to MySQL server; no spaces between-p and password when using short argument-p with plaintext password.
--socket=path, -S path Socket file used by Unix systems when connecting to a local server, or named pipe used by Windows systems
--host=host_name, -h host_name The host on which the MySQL server resides. The default host is the local server.
--port=port_num, -P port_num TCP/IP port number used for connection
--databases, -B Backup multiple databases
--all-databases, -A Backup all tables in all databases
--tab=dir_name, -T dir_name Backup tab-separated text format data files
--fields-terminated-by Field separator for exported file, used with--tab parameter
--fields-escaped-by field wrappers for exported files, used with the--tab parameter
--default-character-set=charset_name Specifies the default character set
--tables overwrite--databases or -B parameter, backup the data out of the table
--where='where_condition', -w 'where_condition'Exports only rows that match the specified WHERE condition
For example:
--where="user='jimf'"
-w"userid>1"
-w"userid
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.