{"id":4472,"date":"2020-10-30T23:22:24","date_gmt":"2020-10-30T22:22:24","guid":{"rendered":"https:\/\/webhosting.de\/?p=4472"},"modified":"2025-03-03T22:04:23","modified_gmt":"2025-03-03T21:04:23","slug":"mariadb-5-5-auf-10-2-updaten-mit-plesk","status":"publish","type":"post","link":"https:\/\/webhosting.de\/fr\/mariadb-5-5-auf-10-2-updaten-mit-plesk\/","title":{"rendered":"Mise \u00e0 jour de Mariadb 5.5 vers 10.3 avec Plesk"},"content":{"rendered":"<p>Auf vielen Webservern mit <a href=\"https:\/\/webhosting.de\/fr\/plesk-joomla-toolkit\/\">Plesk<\/a> l\u00e4uft Centos in der Version 7 was eine kostenlose Version des professionellen RedHat 7 Betriebssystems ist. In Deutschland wird oft Plesk als Verwaltungsoberfl\u00e4che eingesetzt.<\/p>\r\n<p>Centos7 bringt den Datenbankserver MariaDB 5.5 mit was in etwa <a href=\"https:\/\/webhosting.de\/fr\/mysql\/\">mysql<\/a>. 5.5 entspricht wie es aus dem <a href=\"https:\/\/mariadb.com\/kb\/en\/library\/system-variable-differences-between-mariadb-55-and-mysql-55\/\" target=\"_blank\" rel=\"noopener\">MySQL Vergleich<\/a> hervorgeht. Das ist leider alles etwas angestaubt, l\u00e4uft aber nat\u00fcrlich auch mit aktuellen <a href=\"https:\/\/webhosting.de\/fr\/die-5-elemente-einer-guten-landing-page\/\">Content<\/a> Management Systemen einwandfrei.<\/p>\r\n<h2>MariaDB 5.5 auf MariaDB 10.3<\/h2>\r\n<p>Neue Versionen bringen viele Features und mehr Geschwindigkeit, deshalb ist es oftmals sinnvoll die alten Softwareprodukte die mit dem Betriebssystem ausgeliefert werden zu ersetzen. In diesem Beispiel aktualisieren wir MariaDB5.5 auf 10.3.<\/p>\r\n<p>Wenn der Server schon produktiv ist mit Plesk, dann kann der Datenbankserver nur im Wartungsmodus ersetzt werden und vorher ein Datenbankbackup erstellt werden. Am besten Snapshot der ganzen Maschine.<\/p>\r\n<p>Hierzu m\u00fcsst Ihr einfach die Plesk Dienste anhalten:<\/p>\r\n<p><strong>service psa stopall<\/strong><\/p>\r\n<p>und zur Sicherheit den Datenbankserver noch einmal:<\/p>\r\n<p><strong>service mariadb stop<\/strong><\/p>\r\n<p>Dann kann das Upgrade erfolgen mit ein paar kleinen Befehlen.<\/p>\r\n<p>Zun\u00e4chst m\u00fcssen wir ein passendes Repository anlegen, damit das ganze auch aktualisiert wird. Hierzu bitte einfach mit einem Editor folgende Datei erstellen:<\/p>\r\n<p><strong>nano \/etc\/yum.repos.d\/MariaDB.repo<\/strong><\/p>\r\n<p><em>[mariadb]<\/em><br \/><em>name = MariaDB<\/em><br \/><em>baseurl = http:\/\/yum.mariadb.org\/10.3\/centos7-amd64<\/em><br \/><em>gpgkey = https:\/\/yum.mariadb.org\/RPM-GPG-KEY-MariaDB<\/em><br \/><em>gpgcheck = 1<\/em><\/p>\r\n<p>Damit kann dann der bereits installierte mariadb Server ersetzt werden.\u00a0<\/p>\r\n<p><code>rpm -e --nodeps mariadb-bench #evtl vorhandenen mariadb-bench entfernen falls vorhanden<\/code><\/p>\r\n<p><strong>yum install MariaDB-client MariaDB-server<\/strong> #MariaDB Server aktualisieren<\/p>\r\n<p>Vollst\u00e4ndig entfernt und neu installiert werden. Dies kann vorkommen, wenn bereits eine andere MariaDB Version installiert ist, oder Abh\u00e4ngigkeiten eine Aktualisierung verhindern.<\/p>\r\n<p>Das war es schon. Nun einfach den Datenbankserver wieder starten. Bei MariaDB 10.3 sollte folgende Zeile in der \/etc\/my.cnf hinzugef\u00fcgt werden:<\/p>\r\n<p>innodb_strict_mode=0 \u00a0#falls es zu Problemen mit \u00e4lteren Scripten kommt.<\/p>\r\n<p>group_concat_max_len=320000 #wird f\u00fcr Shopsysteme ben\u00f6tigt<\/p>\r\n<p><strong>service mariadb start<\/strong><\/p>\r\n<p>Was jetzt noch fehlt ist eine Aktualisierung der ganzen Tabellen. Daf\u00fcr muss man bei einem Upgrade des Datenbankservers einfach den folgenden Befehl ausf\u00fchren:<\/p>\r\n<p><code>mysql_upgrade -uadmin -p`cat \/etc\/psa\/.psa.shadow`<\/code><\/p>\r\n<p>Jetzt die Plesk Dienste wieder starten und schon l\u00e4uft alles mit der aktuellen MariaDB Version 10.3.<\/p>\r\n<p><strong>service psa startall<\/strong><\/p>\r\n<p>Bitte immer daran denken regelm\u00e4\u00dfige Backups zu erstellen. Kunden die Uralt Foren oder Content Management Systeme verwenden k\u00f6nnen mit aktuellen Datenbankversionen unter umst\u00e4nden Probleme bekommen.<\/p>\r\n<p>Bitte schreibt doch einfach mal einen Kommentar, ob das bei Euch gut geklappt hat.<\/p>\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>Auf vielen Webservern mit Plesk l\u00e4uft Centos in der Version 7 was eine kostenlose Version des professionellen RedHat 7 Betriebssystems ist. In Deutschland wird oft Plesk als Verwaltungsoberfl\u00e4che eingesetzt. Centos7 bringt den Datenbankserver MariaDB 5.5 mit was in etwa mysql. 5.5 entspricht wie es aus dem MySQL Vergleich hervorgeht. Das ist leider alles etwas angestaubt, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":926,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_crdt_document":"","inline_featured_image":false,"footnotes":""},"categories":[700,995],"tags":[],"class_list":["post-4472","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-anleitungen","category-hilfe"],"acf":[],"_wp_attached_file":null,"_wp_attachment_metadata":null,"litespeed-optimize-size":null,"litespeed-optimize-set":null,"_elementor_source_image_hash":null,"_wp_attachment_image_alt":null,"stockpack_author_name":null,"stockpack_author_url":null,"stockpack_provider":null,"stockpack_image_url":null,"stockpack_license":null,"stockpack_license_url":null,"stockpack_modification":null,"color":null,"original_id":null,"original_url":null,"original_link":null,"unsplash_location":null,"unsplash_sponsor":null,"unsplash_exif":null,"unsplash_attachment_metadata":null,"_elementor_is_screenshot":null,"surfer_file_name":null,"surfer_file_original_url":null,"envato_tk_source_kit":null,"envato_tk_source_index":null,"envato_tk_manifest":null,"envato_tk_folder_name":null,"envato_tk_builder":null,"envato_elements_download_event":null,"_menu_item_type":null,"_menu_item_menu_item_parent":null,"_menu_item_object_id":null,"_menu_item_object":null,"_menu_item_target":null,"_menu_item_classes":null,"_menu_item_xfn":null,"_menu_item_url":null,"_trp_menu_languages":null,"rank_math_primary_category":"700","rank_math_title":null,"inline_featured_image":null,"_yoast_wpseo_primary_category":null,"rank_math_schema_blogposting":null,"rank_math_schema_videoobject":null,"_oembed_049c719bc4a9f89deaead66a7da9fddc":null,"_oembed_time_049c719bc4a9f89deaead66a7da9fddc":null,"_yoast_wpseo_focuskw":"","_yoast_wpseo_linkdex":null,"_oembed_27e3473bf8bec795fbeb3a9d38489348":null,"_oembed_c3b0f6959478faf92a1f343d8f96b19e":null,"_trp_translated_slug_en_us":null,"_wp_desired_post_slug":null,"_yoast_wpseo_title":null,"tldname":null,"tldpreis":null,"tldrubrik":null,"tldpolicylink":null,"tldsize":null,"tldregistrierungsdauer":null,"tldtransfer":null,"tldwhoisprivacy":null,"tldregistrarchange":null,"tldregistrantchange":null,"tldwhoisupdate":null,"tldnameserverupdate":null,"tlddeletesofort":null,"tlddeleteexpire":null,"tldumlaute":null,"tldrestore":null,"tldsubcategory":null,"tldbildname":null,"tldbildurl":null,"tldclean":null,"tldcategory":null,"tldpolicy":null,"tldbesonderheiten":null,"tld_bedeutung":null,"_oembed_d167040d816d8f94c072940c8009f5f8":null,"_oembed_b0a0fa59ef14f8870da2c63f2027d064":null,"_oembed_4792fa4dfb2a8f09ab950a73b7f313ba":null,"_oembed_33ceb1fe54a8ab775d9410abf699878d":null,"_oembed_fd7014d14d919b45ec004937c0db9335":null,"_oembed_21a029d076783ec3e8042698c351bd7e":null,"_oembed_be5ea8a0c7b18e658f08cc571a909452":null,"_oembed_a9ca7a298b19f9b48ec5914e010294d2":null,"_oembed_f8db6b27d08a2bb1f920e7647808899a":null,"_oembed_168ebde5096e77d8a89326519af9e022":null,"_oembed_cdb76f1b345b42743edfe25481b6f98f":null,"_oembed_87b0613611ae54e86e8864265404b0a1":null,"_oembed_27aa0e5cf3f1bb4bc416a4641a5ac273":null,"_oembed_time_27aa0e5cf3f1bb4bc416a4641a5ac273":null,"_tldname":null,"_tldclean":null,"_tldpreis":null,"_tldcategory":null,"_tldsubcategory":null,"_tldpolicy":null,"_tldpolicylink":null,"_tldsize":null,"_tldregistrierungsdauer":null,"_tldtransfer":null,"_tldwhoisprivacy":null,"_tldregistrarchange":null,"_tldregistrantchange":null,"_tldwhoisupdate":null,"_tldnameserverupdate":null,"_tlddeletesofort":null,"_tlddeleteexpire":null,"_tldumlaute":null,"_tldrestore":null,"_tldbildname":null,"_tldbildurl":null,"_tld_bedeutung":null,"_tldbesonderheiten":null,"_oembed_ad96e4112edb9f8ffa35731d4098bc6b":null,"_oembed_8357e2b8a2575c74ed5978f262a10126":null,"_oembed_3d5fea5103dd0d22ec5d6a33eff7f863":null,"_eael_widget_elements":null,"_oembed_0d8a206f09633e3d62b95a15a4dd0487":null,"_oembed_time_0d8a206f09633e3d62b95a15a4dd0487":null,"_aioseo_description":null,"_eb_attr":null,"_eb_data_table":null,"_oembed_819a879e7da16dd629cfd15a97334c8a":null,"_oembed_time_819a879e7da16dd629cfd15a97334c8a":null,"_acf_changed":null,"_wpcode_auto_insert":null,"_edit_last":"1","_edit_lock":"1741035722:1","_oembed_e7b913c6c84084ed9702cb4feb012ddd":"{{unknown}}","_oembed_bfde9e10f59a17b85fc8917fa7edf782":"<iframe title=\"Theming Nextcloud in 37 seconds\" width=\"368\" height=\"207\" src=\"https:\/\/www.youtube.com\/embed\/wqRgeFXYUys?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>","_oembed_time_bfde9e10f59a17b85fc8917fa7edf782":"1620746208","_oembed_03514b67990db061d7c4672de26dc514":"<iframe title=\"Gaia X\" width=\"800\" height=\"450\" src=\"https:\/\/www.youtube.com\/embed\/NhqLt_NJ6FA?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>","_oembed_time_03514b67990db061d7c4672de26dc514":"1620746205","rank_math_news_sitemap_robots":"index","rank_math_robots":["index"],"_eael_post_view_count":"4933","_trp_automatically_translated_slug_ru_ru":null,"_trp_automatically_translated_slug_et":"mariadb-5-5-auf-10-2-updaten-mit-plesk","_trp_automatically_translated_slug_lv":"mariadb-5-5-auf-10-2-updaten-mit-plesk","_trp_automatically_translated_slug_fr_fr":null,"_trp_automatically_translated_slug_en_us":null,"_wp_old_slug":null,"_trp_automatically_translated_slug_da_dk":null,"_trp_automatically_translated_slug_pl_pl":null,"_trp_automatically_translated_slug_es_es":null,"_trp_automatically_translated_slug_hu_hu":null,"_trp_automatically_translated_slug_fi":"mariadb-5-5-auf-10-2-updaten-mit-plesk","_trp_automatically_translated_slug_ja":"mariadb-5-5-auf-10-2-updaten-mit-plesk","_trp_automatically_translated_slug_lt_lt":null,"_elementor_edit_mode":null,"_elementor_template_type":null,"_elementor_version":null,"_elementor_pro_version":null,"_wp_page_template":"default","_elementor_page_settings":null,"_elementor_data":null,"_elementor_css":null,"_elementor_conditions":null,"_happyaddons_elements_cache":null,"_oembed_75446120c39305f0da0ccd147f6de9cb":"<blockquote class=\"twitter-tweet\" data-width=\"550\" data-dnt=\"true\"><p lang=\"en\" dir=\"ltr\">great job, everyone <a href=\"https:\/\/t.co\/22gooTH4sl\">pic.twitter.com\/22gooTH4sl<\/a><\/p>&mdash; crash override (@donk_enby) <a href=\"https:\/\/twitter.com\/donk_enby\/status\/1348484125825658887?ref_src=twsrc%5Etfw\">January 11, 2021<\/a><\/blockquote><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script>","_oembed_time_75446120c39305f0da0ccd147f6de9cb":"1620746199","_oembed_3efb2c3e76a18143e7207993a2a6939a":"<blockquote class=\"twitter-tweet\" data-width=\"550\" data-dnt=\"true\"><p lang=\"en\" dir=\"ltr\"><a href=\"https:\/\/twitter.com\/hashtag\/BREAKING?src=hash&amp;ref_src=twsrc%5Etfw\">#BREAKING<\/a>: Texas takes the lead once more! Today, we\u2019re filing a lawsuit against <a href=\"https:\/\/twitter.com\/hashtag\/Google?src=hash&amp;ref_src=twsrc%5Etfw\">#Google<\/a> for anticompetitive conduct.<br><br>This internet Goliath used its power to manipulate the market, destroy competition, and harm YOU, the consumer. Stay tuned\u2026 <a href=\"https:\/\/t.co\/fdEVEWQb0e\">pic.twitter.com\/fdEVEWQb0e<\/a><\/p>&mdash; Texas Attorney General (@TXAG) <a href=\"https:\/\/twitter.com\/TXAG\/status\/1339283520099856384?ref_src=twsrc%5Etfw\">December 16, 2020<\/a><\/blockquote><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script>","_oembed_time_3efb2c3e76a18143e7207993a2a6939a":"1620746200","_oembed_59808117857ddf57e478a31d79f76e4d":"<blockquote class=\"twitter-tweet\" data-width=\"550\" data-dnt=\"true\"><p lang=\"en\" dir=\"ltr\">Happy to follow-on report that a huge chunk of <a href=\"https:\/\/twitter.com\/Flickr?ref_src=twsrc%5Etfw\">@Flickr<\/a> compute just successfully made the transition to Graviton2 <a href=\"https:\/\/twitter.com\/Arm?ref_src=twsrc%5Etfw\">@ARM<\/a> in <a href=\"https:\/\/twitter.com\/awscloud?ref_src=twsrc%5Etfw\">@awscloud<\/a> this afternoon. More services coming shortly. My aim is to get to 100% of non-GPU <a href=\"https:\/\/twitter.com\/SmugMug?ref_src=twsrc%5Etfw\">@SmugMug<\/a> and <a href=\"https:\/\/twitter.com\/Flickr?ref_src=twsrc%5Etfw\">@Flickr<\/a> compute on ARM within the year. <a href=\"https:\/\/t.co\/fwXWdg06xx\">https:\/\/t.co\/fwXWdg06xx<\/a><\/p>&mdash; Don MacAskill (@DonMacAskill) <a href=\"https:\/\/twitter.com\/DonMacAskill\/status\/1314050996486561792?ref_src=twsrc%5Etfw\">October 8, 2020<\/a><\/blockquote><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script>","_oembed_time_59808117857ddf57e478a31d79f76e4d":"1620746201","_oembed_965c5b49aa8d22ce37dfb3bde0268600":"<blockquote class=\"twitter-tweet\" data-width=\"550\" data-dnt=\"true\"><p lang=\"de\" dir=\"ltr\">Der <a href=\"https:\/\/twitter.com\/hashtag\/Finanzausschuss?src=hash&amp;ref_src=twsrc%5Etfw\">#Finanzausschuss<\/a> im <a href=\"https:\/\/twitter.com\/hashtag\/Bundestag?src=hash&amp;ref_src=twsrc%5Etfw\">#Bundestag<\/a> hat das <a href=\"https:\/\/twitter.com\/hashtag\/Jahressteuergesetz?src=hash&amp;ref_src=twsrc%5Etfw\">#Jahressteuergesetz<\/a> beschlossen. Damit wurde auch die <a href=\"https:\/\/twitter.com\/hashtag\/Gemeinn%C3%BCtzigkeit?src=hash&amp;ref_src=twsrc%5Etfw\">#Gemeinn\u00fctzigkeit<\/a> f\u00fcr <a href=\"https:\/\/twitter.com\/hashtag\/Freifunk?src=hash&amp;ref_src=twsrc%5Etfw\">#Freifunk<\/a> Initiativen beschlossen. Das ganze geht jetzt in der kommenden Woche ins Plenum zur Abstimmung und direkt in den <a href=\"https:\/\/twitter.com\/hashtag\/Bundesrat?src=hash&amp;ref_src=twsrc%5Etfw\">#Bundesrat<\/a><\/p>&mdash; Jens Zimmermann (@JensZSPD) <a href=\"https:\/\/twitter.com\/JensZSPD\/status\/1336581821706989568?ref_src=twsrc%5Etfw\">December 9, 2020<\/a><\/blockquote><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script>","_oembed_time_965c5b49aa8d22ce37dfb3bde0268600":"1620746203","_oembed_81002f7ee3604f645db4ebcfd1912acf":"<iframe title=\"Netzetag bei der Telekom: Antennen, Breitband, Glasfaser\" width=\"800\" height=\"450\" src=\"https:\/\/www.youtube.com\/embed\/6_NTa3VCRFo?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>","_oembed_time_81002f7ee3604f645db4ebcfd1912acf":"1620746203","_elementor_screenshot":null,"_oembed_7ea3429961cf98fa85da9747683af827":null,"_oembed_time_7ea3429961cf98fa85da9747683af827":null,"_elementor_controls_usage":null,"_elementor_page_assets":[],"_elementor_screenshot_failed":null,"theplus_transient_widgets":["tp-video-player"],"_eael_custom_js":null,"_wp_old_date":null,"_trp_automatically_translated_slug_it_it":null,"_trp_automatically_translated_slug_pt_pt":null,"_trp_automatically_translated_slug_zh_cn":null,"_trp_automatically_translated_slug_nl_nl":null,"_trp_automatically_translated_slug_pt_br":null,"_trp_automatically_translated_slug_sv_se":null,"rank_math_analytic_object_id":"724","rank_math_internal_links_processed":null,"_trp_automatically_translated_slug_ro_ro":null,"_trp_automatically_translated_slug_sk_sk":null,"_trp_automatically_translated_slug_bg_bg":null,"_trp_automatically_translated_slug_sl_si":null,"litespeed_vpi_list":["webhostinglogo.png"],"litespeed_vpi_list_mobile":["webhostinglogo.png"],"rank_math_seo_score":"16","rank_math_contentai_score":{"keywords":"74.51","wordCount":"0","linkCount":"0","headingCount":"0","mediaCount":"0"},"ilj_limitincominglinks":"","ilj_maxincominglinks":"1","ilj_limitoutgoinglinks":"","ilj_maxoutgoinglinks":"1","ilj_limitlinksperparagraph":"","ilj_linksperparagraph":"1","ilj_blacklistdefinition":[],"ilj_linkdefinition":["mariadb 5.5 auf 10.2 updaten mit plesk"],"_eb_reusable_block_ids":null,"rank_math_focus_keyword":null,"rank_math_og_content_image":null,"_yoast_wpseo_metadesc":"","_yoast_wpseo_content_score":null,"_yoast_wpseo_focuskeywords":null,"_yoast_wpseo_keywordsynonyms":null,"_yoast_wpseo_estimated-reading-time-minutes":null,"rank_math_description":null,"surfer_last_post_update":null,"surfer_last_post_update_direction":null,"surfer_keywords":null,"surfer_location":null,"surfer_draft_id":null,"surfer_permalink_hash":null,"surfer_scrape_ready":null,"_thumbnail_id":"926","footnotes":null,"_links":{"self":[{"href":"https:\/\/webhosting.de\/fr\/wp-json\/wp\/v2\/posts\/4472","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhosting.de\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhosting.de\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhosting.de\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webhosting.de\/fr\/wp-json\/wp\/v2\/comments?post=4472"}],"version-history":[{"count":2,"href":"https:\/\/webhosting.de\/fr\/wp-json\/wp\/v2\/posts\/4472\/revisions"}],"predecessor-version":[{"id":8132,"href":"https:\/\/webhosting.de\/fr\/wp-json\/wp\/v2\/posts\/4472\/revisions\/8132"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhosting.de\/fr\/wp-json\/wp\/v2\/media\/926"}],"wp:attachment":[{"href":"https:\/\/webhosting.de\/fr\/wp-json\/wp\/v2\/media?parent=4472"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhosting.de\/fr\/wp-json\/wp\/v2\/categories?post=4472"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhosting.de\/fr\/wp-json\/wp\/v2\/tags?post=4472"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}