{"id":8364,"date":"2024-01-09T07:19:29","date_gmt":"2024-01-09T07:19:29","guid":{"rendered":"https:\/\/www.infinitivehost.com\/knowledge-base\/?p=8364"},"modified":"2024-01-09T07:19:31","modified_gmt":"2024-01-09T07:19:31","slug":"how-to-check-mysql-version-via-command-line","status":"publish","type":"post","link":"https:\/\/www.infinitivehost.com\/knowledge-base\/how-to-check-mysql-version-via-command-line\/","title":{"rendered":"How to check MYSQL version via command line?"},"content":{"rendered":"<div class='epvc-post-count'><span class='epvc-eye'><\/span>  <span class=\"epvc-count\"> 1,267<\/span><span class='epvc-label'> Views<\/span><\/div>\n<p>It is vital to know which MySQL version is installed. Knowing the version number allows you to identify whether a given feature is compatible with your system or accessible. Below-memtioned are five ways for checking your MySQL version on Linux-based platforms.<\/p>\n\n\n\n<p><strong>========================================================<\/strong><\/p>\n\n\n\n<p><strong>For linux system:-<\/strong><\/p>\n\n\n\n<p><strong>Step 1- Open terminal\u00a0<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"99\" src=\"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/image2-31-1024x99.png\" alt=\"How to check MYSQL version via command line\" class=\"wp-image-8365\" srcset=\"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/image2-31-1024x99.png 1024w, https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/image2-31-300x29.png 300w, https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/image2-31-768x74.png 768w, https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/image2-31.png 1310w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 2- Run this command&nbsp;<\/strong><\/p>\n\n\n\n<p><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/strong><strong>root@sha1 [~]# mysql -V<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"729\" height=\"67\" src=\"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/image1-28.png\" alt=\"How to check MYSQL version via command line 2\" class=\"wp-image-8366\" srcset=\"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/image1-28.png 729w, https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/image1-28-300x28.png 300w\" sizes=\"(max-width: 729px) 100vw, 729px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>1,267 Views It is vital to know which MySQL version is installed. Knowing the version number allows you to identify whether a given feature is compatible with your system or accessible. Below-memtioned are five ways for checking your MySQL version on Linux-based platforms. ======================================================== For linux system:- Step 1- Open terminal\u00a0 Step 2- Run this [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[59],"tags":[],"class_list":["post-8364","post","type-post","status-publish","format-standard","hentry","category-control-panel-ssl"],"_links":{"self":[{"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/8364","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/comments?post=8364"}],"version-history":[{"count":1,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/8364\/revisions"}],"predecessor-version":[{"id":8367,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/8364\/revisions\/8367"}],"wp:attachment":[{"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=8364"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/categories?post=8364"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/tags?post=8364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}