{"id":25,"date":"2005-11-16T04:00:00","date_gmt":"2005-11-16T04:00:00","guid":{"rendered":"http:\/\/thenoyes.com\/littlenoise\/?p=25"},"modified":"2006-06-16T20:58:34","modified_gmt":"2006-06-16T20:58:34","slug":"passwords","status":"publish","type":"post","link":"https:\/\/thenoyes.com\/littlenoise\/?p=25","title":{"rendered":"Passwords"},"content":{"rendered":"<p>Assume the following have completed:<\/p>\n<pre>\r\nGRANT ALL ON test1.* TO 'johnQ'@'localhost' IDENTIFIED BY 'pass1';\r\nGRANT ALL ON test2.* TO 'johnQ'@'localhost' IDENTIFIED BY 'pass2';\r\n<\/pre>\n<p>\nUser johnQ has a query that joins tables from test1 to tables from test2.  How should he log in?<\/p>\n<p>a) Using &#8216;pass1&#8217;.<br \/>\nb) Using &#8216;pass2&#8217;.<br \/>\nc) Using &#8216;pass1&#8217; and &#8216;pass2&#8217;, separated by a colon.<br \/>\nd) It can&#8217;t be done; he must change the two passwords to match.<br \/>\ne) Other (explain)<br \/>\n<spoiler 'Show Answer' 'Hide Answer'><br \/>\nAnswer: b) Using &#8216;pass2&#8217;.  Passwords are specific to the user\/host combination, not to the table.<\/spoiler><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Assume the following have completed: GRANT ALL ON test1.* TO &#8216;johnQ&#8217;@&#8217;localhost&#8217; IDENTIFIED BY &#8216;pass1&#8217;; GRANT ALL ON test2.* TO &#8216;johnQ&#8217;@&#8217;localhost&#8217; IDENTIFIED BY &#8216;pass2&#8242;; User johnQ has a query that joins tables from test1 to tables from test2. How should he log in? a) Using &#8216;pass1&#8217;. b) Using &#8216;pass2&#8217;. c) Using &#8216;pass1&#8217; and &#8216;pass2&#8217;, separated by [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","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_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[6],"tags":[],"class_list":["post-25","post","type-post","status-publish","format-standard","hentry","category-gotchas"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2IBF1-p","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=\/wp\/v2\/posts\/25","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=25"}],"version-history":[{"count":0,"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=\/wp\/v2\/posts\/25\/revisions"}],"wp:attachment":[{"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=25"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=25"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=25"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}