{"id":518,"date":"2021-04-03T19:02:11","date_gmt":"2021-04-03T19:02:11","guid":{"rendered":"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/03\/mysql-installeren-op-raspberry-pi\/"},"modified":"2021-04-03T19:02:11","modified_gmt":"2021-04-03T19:02:11","slug":"mysql-installeren-op-raspberry-pi","status":"publish","type":"post","link":"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/03\/mysql-installeren-op-raspberry-pi\/","title":{"rendered":"MySQL (MariaDB)"},"content":{"rendered":"\n<p>Server MySQL installeren<br><br><code>sudo apt-get install mysql-server -y<\/code><\/p>\n\n\n\n<p>Het bovenstaande commando&#8217;s installeert de MySQL server, tijdens de installatie verschijnt er een prompt waarbij het wachtwoord van de MySQL root gebruiker moet worden opgegeven.<\/p>\n\n\n\n<p>Ter bevestiging dient het gekozen wachtwoord tweemaal te worden opgegeven, hierna zal het installatie proces van de MySQL server worden afgerond.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Client MySQL installeren<\/h2>\n\n\n\n<p>Als de installatie is voltooid moet we de MySQL client installeren. Met behulp van de client kun je via de commandline verbinding maken met de server en de databases beheren.<\/p>\n\n\n\n<p><code>sudo apt-get install mysql-client -y<\/code><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Werking controleren<\/h2>\n\n\n\n<p>Na de installatie van de server kunnen we verbinding gaan maken met de server, hiervoor type je het commando:<\/p>\n\n\n\n<p><code>mysql -u root -p<\/code><\/p>\n\n\n\n<p>Er wordt nu om een wachtwoord gevraagd vul hier het wachtwoord in dat je hebt ingesteld tijdens de MySQL server installatie.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i2-wp-com.cdn.ampproject.org\/i\/s\/i2.wp.com\/raspberrytips.nl\/wp-content\/uploads\/2016\/05\/mysql-status-raspbian.png?resize=600%2C496&amp;ssl=1\" alt=\"mysql status raspbian\"\/><\/figure>\n\n\n\n<p>In het scherm verschijnt nu de\u00a0<code>mysql&gt;<\/code>\u00a0prompt, je kunt de status van de server controleren door het commando\u00a0<code>STATUS;<\/code>\u00a0uit te voeren. Er verschijnt een overzicht met details over de MySQL installatie.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Server MySQL installeren sudo apt-get install mysql-server -y Het bovenstaande commando&#8217;s installeert de MySQL server, tijdens de installatie verschijnt er<\/p>\n<p><a href=\"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/03\/mysql-installeren-op-raspberry-pi\/\" class=\"more-link\">Verder lezen<span class=\"screen-reader-text\">MySQL (MariaDB)<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":517,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[43],"tags":[66,78],"class_list":["post-518","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-domotica-software","tag-mariadb","tag-mysql"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>MySQL (MariaDB) - Mijn domotica projecten<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/03\/mysql-installeren-op-raspberry-pi\/\" \/>\n<meta property=\"og:locale\" content=\"nl_NL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MySQL (MariaDB) - Mijn domotica projecten\" \/>\n<meta property=\"og:description\" content=\"Server MySQL installeren sudo apt-get install mysql-server -y Het bovenstaande commando&#8217;s installeert de MySQL server, tijdens de installatie verschijnt erVerder lezenMySQL (MariaDB)\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/03\/mysql-installeren-op-raspberry-pi\/\" \/>\n<meta property=\"og:site_name\" content=\"Mijn domotica projecten\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/syds.post\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-04-03T19:02:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/250px-MySQL_logo.svg.png\" \/>\n\t<meta property=\"og:image:width\" content=\"250\" \/>\n\t<meta property=\"og:image:height\" content=\"173\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Syds\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Geschreven door\" \/>\n\t<meta name=\"twitter:data1\" content=\"Syds\" \/>\n\t<meta name=\"twitter:label2\" content=\"Geschatte leestijd\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minuut\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/04\\\/03\\\/mysql-installeren-op-raspberry-pi\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/04\\\/03\\\/mysql-installeren-op-raspberry-pi\\\/\"},\"author\":{\"name\":\"Syds\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#\\\/schema\\\/person\\\/429f92898f98d9c4e01b8fad60975b21\"},\"headline\":\"MySQL (MariaDB)\",\"datePublished\":\"2021-04-03T19:02:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/04\\\/03\\\/mysql-installeren-op-raspberry-pi\\\/\"},\"wordCount\":158,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/04\\\/03\\\/mysql-installeren-op-raspberry-pi\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sydspost.nl\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/250px-MySQL_logo.svg.png\",\"keywords\":[\"MariaDB\",\"MySQL\"],\"articleSection\":[\"Software\"],\"inLanguage\":\"nl-NL\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/04\\\/03\\\/mysql-installeren-op-raspberry-pi\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/04\\\/03\\\/mysql-installeren-op-raspberry-pi\\\/\",\"url\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/04\\\/03\\\/mysql-installeren-op-raspberry-pi\\\/\",\"name\":\"MySQL (MariaDB) - Mijn domotica projecten\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/04\\\/03\\\/mysql-installeren-op-raspberry-pi\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/04\\\/03\\\/mysql-installeren-op-raspberry-pi\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sydspost.nl\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/250px-MySQL_logo.svg.png\",\"datePublished\":\"2021-04-03T19:02:11+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/04\\\/03\\\/mysql-installeren-op-raspberry-pi\\\/#breadcrumb\"},\"inLanguage\":\"nl-NL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/04\\\/03\\\/mysql-installeren-op-raspberry-pi\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"nl-NL\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/04\\\/03\\\/mysql-installeren-op-raspberry-pi\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.sydspost.nl\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/250px-MySQL_logo.svg.png\",\"contentUrl\":\"https:\\\/\\\/www.sydspost.nl\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/250px-MySQL_logo.svg.png\",\"width\":250,\"height\":173},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/04\\\/03\\\/mysql-installeren-op-raspberry-pi\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sydspost.nl\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MySQL (MariaDB)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#website\",\"url\":\"https:\\\/\\\/www.sydspost.nl\\\/\",\"name\":\"Mijn domotica projecten\",\"description\":\"met Domoticz\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.sydspost.nl\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"nl-NL\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#organization\",\"name\":\"Mijn domotica projecten\",\"url\":\"https:\\\/\\\/www.sydspost.nl\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"nl-NL\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.sydspost.nl\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/Domoticz-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.sydspost.nl\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/Domoticz-logo.png\",\"width\":256,\"height\":256,\"caption\":\"Mijn domotica projecten\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#\\\/schema\\\/person\\\/429f92898f98d9c4e01b8fad60975b21\",\"name\":\"Syds\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"nl-NL\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fe78554f84c2c27fe1c643dcb3f2d0231d9a2dcdb96cc25f3538e38d9465e24d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fe78554f84c2c27fe1c643dcb3f2d0231d9a2dcdb96cc25f3538e38d9465e24d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fe78554f84c2c27fe1c643dcb3f2d0231d9a2dcdb96cc25f3538e38d9465e24d?s=96&d=mm&r=g\",\"caption\":\"Syds\"},\"sameAs\":[\"https:\\\/\\\/www.sydspost.nl\",\"https:\\\/\\\/www.facebook.com\\\/syds.post\\\/\"],\"url\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/author\\\/wp_admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"MySQL (MariaDB) - Mijn domotica projecten","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/03\/mysql-installeren-op-raspberry-pi\/","og_locale":"nl_NL","og_type":"article","og_title":"MySQL (MariaDB) - Mijn domotica projecten","og_description":"Server MySQL installeren sudo apt-get install mysql-server -y Het bovenstaande commando&#8217;s installeert de MySQL server, tijdens de installatie verschijnt erVerder lezenMySQL (MariaDB)","og_url":"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/03\/mysql-installeren-op-raspberry-pi\/","og_site_name":"Mijn domotica projecten","article_author":"https:\/\/www.facebook.com\/syds.post\/","article_published_time":"2021-04-03T19:02:11+00:00","og_image":[{"width":250,"height":173,"url":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/250px-MySQL_logo.svg.png","type":"image\/png"}],"author":"Syds","twitter_card":"summary_large_image","twitter_misc":{"Geschreven door":"Syds","Geschatte leestijd":"1 minuut"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/03\/mysql-installeren-op-raspberry-pi\/#article","isPartOf":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/03\/mysql-installeren-op-raspberry-pi\/"},"author":{"name":"Syds","@id":"https:\/\/www.sydspost.nl\/#\/schema\/person\/429f92898f98d9c4e01b8fad60975b21"},"headline":"MySQL (MariaDB)","datePublished":"2021-04-03T19:02:11+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/03\/mysql-installeren-op-raspberry-pi\/"},"wordCount":158,"commentCount":0,"publisher":{"@id":"https:\/\/www.sydspost.nl\/#organization"},"image":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/03\/mysql-installeren-op-raspberry-pi\/#primaryimage"},"thumbnailUrl":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/250px-MySQL_logo.svg.png","keywords":["MariaDB","MySQL"],"articleSection":["Software"],"inLanguage":"nl-NL","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.sydspost.nl\/index.php\/2021\/04\/03\/mysql-installeren-op-raspberry-pi\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/03\/mysql-installeren-op-raspberry-pi\/","url":"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/03\/mysql-installeren-op-raspberry-pi\/","name":"MySQL (MariaDB) - Mijn domotica projecten","isPartOf":{"@id":"https:\/\/www.sydspost.nl\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/03\/mysql-installeren-op-raspberry-pi\/#primaryimage"},"image":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/03\/mysql-installeren-op-raspberry-pi\/#primaryimage"},"thumbnailUrl":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/250px-MySQL_logo.svg.png","datePublished":"2021-04-03T19:02:11+00:00","breadcrumb":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/03\/mysql-installeren-op-raspberry-pi\/#breadcrumb"},"inLanguage":"nl-NL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sydspost.nl\/index.php\/2021\/04\/03\/mysql-installeren-op-raspberry-pi\/"]}]},{"@type":"ImageObject","inLanguage":"nl-NL","@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/03\/mysql-installeren-op-raspberry-pi\/#primaryimage","url":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/250px-MySQL_logo.svg.png","contentUrl":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/250px-MySQL_logo.svg.png","width":250,"height":173},{"@type":"BreadcrumbList","@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/03\/mysql-installeren-op-raspberry-pi\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sydspost.nl\/"},{"@type":"ListItem","position":2,"name":"MySQL (MariaDB)"}]},{"@type":"WebSite","@id":"https:\/\/www.sydspost.nl\/#website","url":"https:\/\/www.sydspost.nl\/","name":"Mijn domotica projecten","description":"met Domoticz","publisher":{"@id":"https:\/\/www.sydspost.nl\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sydspost.nl\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"nl-NL"},{"@type":"Organization","@id":"https:\/\/www.sydspost.nl\/#organization","name":"Mijn domotica projecten","url":"https:\/\/www.sydspost.nl\/","logo":{"@type":"ImageObject","inLanguage":"nl-NL","@id":"https:\/\/www.sydspost.nl\/#\/schema\/logo\/image\/","url":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2020\/12\/Domoticz-logo.png","contentUrl":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2020\/12\/Domoticz-logo.png","width":256,"height":256,"caption":"Mijn domotica projecten"},"image":{"@id":"https:\/\/www.sydspost.nl\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.sydspost.nl\/#\/schema\/person\/429f92898f98d9c4e01b8fad60975b21","name":"Syds","image":{"@type":"ImageObject","inLanguage":"nl-NL","@id":"https:\/\/secure.gravatar.com\/avatar\/fe78554f84c2c27fe1c643dcb3f2d0231d9a2dcdb96cc25f3538e38d9465e24d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/fe78554f84c2c27fe1c643dcb3f2d0231d9a2dcdb96cc25f3538e38d9465e24d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fe78554f84c2c27fe1c643dcb3f2d0231d9a2dcdb96cc25f3538e38d9465e24d?s=96&d=mm&r=g","caption":"Syds"},"sameAs":["https:\/\/www.sydspost.nl","https:\/\/www.facebook.com\/syds.post\/"],"url":"https:\/\/www.sydspost.nl\/index.php\/author\/wp_admin\/"}]}},"modified_by":null,"jetpack_featured_media_url":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/250px-MySQL_logo.svg.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/posts\/518","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/comments?post=518"}],"version-history":[{"count":0,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/posts\/518\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/media\/517"}],"wp:attachment":[{"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/media?parent=518"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/categories?post=518"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/tags?post=518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}