• Skip to primary navigation
  • Skip to content
  • Skip to footer
Insert mode Snippets & HOW TOs
  • Donate
  • Tags
  • About

    Dump MySQL query to CSV

    less than 1 minute read

    On this page

    mysql -e "select * from table;" -h HOST --port=PORT -u USER -p DATABASE > mydumpfile.csv

    Updated: May 2, 2022

    Twitter Facebook LinkedIn
    Previous Next

    You May Also Enjoy

    Flask vs Django

    2 minute read

    Introduction Flask and Django are two popular web development frameworks for Python. While they share many similarities, there are some key differences betwe...

    Django MySQL emoji support

    1 minute read

    This post explains how to add emoji support to MySQL.

    Barrier: control multiple computers with one keyboard mouse

    less than 1 minute read

    Barrier is an open-source kvm software that allows you to control multiple computers with one keyboard and mouse.

    Removing files older than 30 days

    less than 1 minute read

    find /path/to/ -type f -mtime +30 -name '*.mp4' -execdir rm -- '{}' \;

    • Twitter
    • GitHub
    • Feed
    © 2022 Insert mode. Powered by Jekyll & Minimal Mistakes.