HTTP 404 Blog

PHP/Drupal/Linux stuff which helps me out.

Montag, 18. Juli 2016

MySQL: Import database dump

Firstly make sure that the "empty" database exists. Then import it:
mysql -uUSERNAME -p"PASSWORD" database_name < dump-filename.sql
Import a Gzip compressed database dump file:
zcat database-dump-file.sql.gz | mysql -uroot -ppassword database-name 
Eingestellt von Unknown um 02:36
Diesen Post per E-Mail versendenBlogThis!Auf X teilenIn Facebook freigebenAuf Pinterest teilen

Keine Kommentare:

Kommentar veröffentlichen

Neuerer Post Älterer Post Startseite
Abonnieren Kommentare zum Post (Atom)

Über mich

Unknown
Mein Profil vollständig anzeigen

Blog-Archiv

  • ▼  2016 (31)
    • ▼  Juli (11)
      • Sync a complete website to remote server quickly b...
      • Sync a complete website to remote server quickly b...
      • Sync a complete website to remote server quickly b...
      • Linux: See specific processes
      • Installing free of charge SSL certificate from Let...
      • MySQL: Import database dump
      • Git: Changing remote repository from one to the other
      • MySQL: dump database and compress it with Gzip
      • Drupal 8: Execute automated tests and debug them i...
      • Linux: Get the size of a folder in an easily reada...
      • Easily re-format JSON files with the yajl-tools Ub...
    • ►  Juni (3)
    • ►  Mai (4)
    • ►  April (3)
    • ►  März (4)
    • ►  Februar (2)
    • ►  Januar (4)
  • ►  2015 (5)
    • ►  Dezember (2)
    • ►  Juli (3)
  • ►  2014 (2)
    • ►  Dezember (2)
Design "Einfach". Powered by Blogger.