{"id":3696,"date":"2014-05-27T11:46:55","date_gmt":"2014-05-27T09:46:55","guid":{"rendered":"http:\/\/www.b.shuttle.de\/hayek\/hayek\/jochen\/wp\/blog-en\/?p=3696"},"modified":"2014-05-27T11:46:55","modified_gmt":"2014-05-27T09:46:55","slug":"pitfall-mysqldump-vs-my-cnf","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2014\/05\/27\/pitfall-mysqldump-vs-my-cnf\/","title":{"rendered":"pitfall: mysqldump vs .my.cnf"},"content":{"rendered":"<p>\t\t\t\tIt took me quite some time to recognise, that the existence of ~\/.my.cnf resp. specifying databases in there disturbs the operation of mysqldump.<\/p>\n<p>If you pass a database name on the command line (with or without the command line option &#8220;&#8211;databases&#8221;) and there is a database listed in\u00a0~\/.my.cnf, this is the kind of error message, you will get shown:<\/p>\n<blockquote><p>Warning: mysqldump: ignoring option &#8216;&#8211;databases&#8217; due to invalid value &#8216;\u2026&#8217;<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>It took me quite some time to recognise, that the existence of ~\/.my.cnf resp. specifying databases in there disturbs the operation of mysqldump. If you pass a database name on the command line (with or without the command line option &#8220;&#8211;databases&#8221;) and there is a database listed in\u00a0~\/.my.cnf, this is the kind of error message, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false,"_share_on_mastodon":"0"},"categories":[666],"tags":[],"class_list":["post-3696","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"share_on_mastodon":{"url":"","error":""},"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-XC","jetpack_likes_enabled":true,"amp_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/3696","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/comments?post=3696"}],"version-history":[{"count":0,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/3696\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=3696"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=3696"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=3696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}