Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How mysql data is exported and imported

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to export and import mysql data, the contents of the article are carefully selected and edited by the author, with a certain pertinence, the reference significance for everyone is still relatively great, the following with the author to understand how mysql data is exported and imported.

1. Query data from mysql and import it into txt file

Mysql-h 10.3.20.251-u addata_r-P 3417-pARreBOEhw9MijIEN_eP6BYKOxkTikUnl ad_data-e "select id, advertiser_id,date,cost,0 as cash_cost, 0 as reward_cost, 0 as return_goods_cost, income,balance, create_time, ad_count, 'show',click,deal_base,'grant',compensation,frozen,transfer_out,transfer_in,income_all, DATE_FORMAT (date '% Y% m% d') as' datetime' from daily_accounting_new where date > = '2017-11-27' and date

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.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report