{"id":115,"date":"2012-10-03T15:19:27","date_gmt":"2012-10-03T19:19:27","guid":{"rendered":"http:\/\/blog.uvm.edu\/ctl-projects\/?p=115"},"modified":"2012-10-03T15:19:27","modified_gmt":"2012-10-03T19:19:27","slug":"mysql-and-uvmext","status":"publish","type":"post","link":"https:\/\/blog.uvm.edu\/waw\/2012\/10\/03\/mysql-and-uvmext\/","title":{"rendered":"mySQL and UVMEXT"},"content":{"rendered":"<p>Lucy Carrasco wrote:<\/p>\n<blockquote><p><em>I started recently as an assistant webmaster at UVM Extension and Marcus mentioned to me that you helped him with setup of the Across the Fence WordPress site. \u00a0I have a few questions regarding the database setup (the db\/user\/password combinations being used that I&#8217;m seeing in the config files) and was wondering if you may be able (have the time!) to shed some light on a few things for me?<\/em><\/p><\/blockquote>\n<p>UVM Extension has 8 databases, four accounts, and 4 passwords. She was confused, this prompted a history lesson<\/p>\n<blockquote><p><strong><span style=\"color: #993300\">mySQL account administration has gone through 3 or 4 phases since the product was first introduced at UVM.<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #993300\">The first phase was the casual and early adopter era. \u00a0I manually created accounts for those that needed them. Naming conventions and passwords didn&#8217;t always follow and convention. Passwords were attempts at cute mnemonics. It was a simpler more laid back time.<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #993300\">Eventually, I built a self-service on-line utility to create accounts. Convention was to use requestor&#8217;s netid (small caps) as a mySQL username and same NETID in LARGE CAPS as a database name. Additional requests got same account-name\/password, and database NETID_1, NETID_2, etc. New passwords were generated automatically and randomly.<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #993300\">This era was also marked by a separate secret script used internally by one ETS staffer to create special accounts for use with a licensed survey building product called Perseus. These accounts again used netid as account name and NETID_PERSEUS as database name. This of course introduced confusion when a particular netid was passed through both scripts.<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #993300\">We are now in a new era, where an authenticated netid is granted 3 accounts: netid_admin, netid_reader, and netid_writer. Databases are named NETID_WHATEVER. Passwords are assigned randomly but can be changed by the requestor.<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #993300\">It is important to note that all this fancy accounting using NetIDs is by convention only. mySQL accounting and administration is separate from NetID account management used for zoo,\u00a0<a href=\"http:\/\/www.uvm.edu\/\"><span style=\"color: #993300\">www.uvm.edu<\/span><\/a>, webmail, blackboard, peoplesoft, myuvm, etc. And even\u00a0<span style=\"color: #993300\"><a href=\"https:\/\/webdm.uvm.edu\/account\">https:\/\/webdm.uvm.edu\/accou<\/a>nt<\/span>\u00a0, which is actually some pretty clever coding on the part of Scott Dellinger \u00a0of ETS to match up &#8216;real&#8217; netids with 13 years of willy-nilly mySQL accounting. Scott is now the defacto DB admin, I remain involved in a variety of poorly defined support and admin roles, and I provide historical context and institutional memory.<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #993300\">It is also interesting to note that UVM Extension was an early adopter, getting their first uvmext\/UVMEXT account\/DATABASE Nov 19, 2001. This is why there are so many passwords, accounts, and databases involved<\/span><\/strong>.<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Lucy Carrasco wrote: I started recently as an assistant webmaster at UVM Extension and Marcus mentioned to me that you helped him with setup of the Across the Fence WordPress site. \u00a0I have a few questions regarding the database setup &hellip; <a href=\"https:\/\/blog.uvm.edu\/waw\/2012\/10\/03\/mysql-and-uvmext\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41826],"tags":[42758],"class_list":["post-115","post","type-post","status-publish","format-standard","hentry","category-wes","tag-boffins"],"_links":{"self":[{"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/posts\/115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/comments?post=115"}],"version-history":[{"count":0,"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/posts\/115\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/media?parent=115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/categories?post=115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/tags?post=115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}