Skip to content

Instantly share code, notes, and snippets.

@IAMNGP
Created February 17, 2022 07:45
Show Gist options
  • Save IAMNGP/fe7b26902453270b042d3f6e88a566ae to your computer and use it in GitHub Desktop.
Save IAMNGP/fe7b26902453270b042d3f6e88a566ae to your computer and use it in GitHub Desktop.
mysql export table
mysqldump -u root -p database_name --tables table_name where"field_name like '2022_02_17%'" > database_table_name.sql
#to export table only sort by date
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment