{"id":40,"date":"2010-06-16T00:35:00","date_gmt":"2010-06-16T04:35:00","guid":{"rendered":"http:\/\/www.ryanbelanger.com\/?p=40"},"modified":"2010-06-16T00:35:00","modified_gmt":"2010-06-16T04:35:00","slug":"mysql-commands-useful-for-data-transfer","status":"publish","type":"post","link":"https:\/\/ryanbelanger.com\/?p=40","title":{"rendered":"MySQL commands useful for data transfer"},"content":{"rendered":"<pre class=\"brush: bash\">mysql yourdatabase --user=youruser --password=yourpassword --default_character_set=utf8 &lt; yourdata.sql<\/pre>\n<pre class=\"brush: bash\">mysqldump db1 --user=yourusername --password=yourpassword | mysql db2 --user=yourusername --password=yourpassword2<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>mysql yourdatabase &#8211;user=youruser &#8211;password=yourpassword &#8211;default_character_set=utf8 &lt; yourdata.sql mysqldump db1 &#8211;user=yourusername &#8211;password=yourpassword | mysql db2 &#8211;user=yourusername &#8211;password=yourpassword2<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[16,19,20],"class_list":["post-40","post","type-post","status-publish","format-standard","hentry","category-tips","tag-linux","tag-mysql","tag-php"],"_links":{"self":[{"href":"https:\/\/ryanbelanger.com\/index.php?rest_route=\/wp\/v2\/posts\/40","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ryanbelanger.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ryanbelanger.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ryanbelanger.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ryanbelanger.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=40"}],"version-history":[{"count":0,"href":"https:\/\/ryanbelanger.com\/index.php?rest_route=\/wp\/v2\/posts\/40\/revisions"}],"wp:attachment":[{"href":"https:\/\/ryanbelanger.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=40"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ryanbelanger.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=40"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ryanbelanger.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=40"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}