Code Dump

foreach thought as blah

Main menu

Skip to primary content
Skip to secondary content
  • Home
  • Tetrada
  • Toy Store
  • About

Tag Archives: mysql

mysqldump without table locks and single line inserts

Posted on June 16, 2010 by linchear

Since I always forget:

mysqldump  –extended-insert=false –host <host>  –skip-lock-tables -u <user> –password <database> <table> > file.sql

Posted in Code Dump | Tagged mysql

Simple MySQL export/import

Posted on February 25, 2010 by linchear

mysql -e 'SELECT * FROM table' > out.txt

load data local infile 'out.txt' into table 'some_table'
Posted in Code Dump | Tagged mysql, SQL

Categories

  • Code Dump
  • Games
  • Hax
  • Jibber Jabber
  • Reference
  • Uncategorized

Blogroll

  • Vibol Hou
Proudly powered by WordPress