{"id":24924,"date":"2019-08-22T14:45:11","date_gmt":"2019-08-22T14:45:11","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/cppblog\/?p=24924"},"modified":"2019-08-22T14:48:53","modified_gmt":"2019-08-22T14:48:53","slug":"build-and-debug-mysql-on-linux-with-visual-studio-2019","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cppblog\/build-and-debug-mysql-on-linux-with-visual-studio-2019\/","title":{"rendered":"Build and Debug MySQL on Linux with Visual Studio 2019"},"content":{"rendered":"<p><span class=\"TextRun SCXW17562973 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun CommentStart SCXW17562973 BCX0\">The MySQL\u00a0<\/span><\/span><span class=\"TextRun SCXW17562973 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW17562973 BCX0\">Server Team<\/span><\/span><span class=\"TextRun SCXW17562973 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW17562973 BCX0\">\u00a0<\/span><\/span><span class=\"TextRun SCXW17562973 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW17562973 BCX0\">recently <a href=\"https:\/\/mysqlserverteam.com\/compiling-mysql-in-visual-studio-on-a-remote-linux-box\/\">shared on their blog<\/a> how to use Visual Studio 2019 to edit, build<\/span><\/span><span class=\"TextRun SCXW17562973 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW17562973 BCX0\">,<\/span><\/span><span class=\"TextRun SCXW17562973 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW17562973 BCX0\">\u00a0and debug MySQL on a remote Linux server.<\/span><\/span><span class=\"TextRun SCXW17562973 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW17562973 BCX0\">\u00a0<\/span><\/span><span class=\"TextRun SCXW17562973 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW17562973 BCX0\">This<\/span><\/span><span class=\"TextRun SCXW17562973 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW17562973 BCX0\">\u00a0<\/span><\/span><span class=\"TextRun SCXW17562973 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW17562973 BCX0\">leverages Visual Studio\u2019s\u00a0<\/span><\/span><a class=\"Hyperlink SCXW17562973 BCX0\" href=\"https:\/\/docs.microsoft.com\/en-us\/cpp\/build\/cmake-projects-in-visual-studio?view=vs-2019\" target=\"_blank\" rel=\"noopener noreferrer\"><span class=\"TextRun Underlined SCXW17562973 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW17562973 BCX0\">native support for CMake<\/span><\/span><\/a><span class=\"TextRun SCXW17562973 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW17562973 BCX0\">\u00a0<\/span><\/span><span class=\"TextRun SCXW17562973 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW17562973 BCX0\">and\u00a0<\/span><\/span><span class=\"TextRun SCXW17562973 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW17562973 BCX0\">allows them to\u00a0<\/span><\/span><span class=\"TextRun SCXW17562973 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW17562973 BCX0\">use\u00a0<\/span><\/span><span class=\"TextRun SCXW17562973 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW17562973 BCX0\">Visual\u00a0<\/span><\/span><span class=\"TextRun SCXW17562973 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW17562973 BCX0\">Studio<\/span><\/span><span class=\"TextRun SCXW17562973 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW17562973 BCX0\">\u00a0as a front-end while outsourcing all the \u201cheavy lifting\u201d (compilation, linking, running) to a remote Linux machine.\u00a0<\/span><\/span><span class=\"EOP SCXW17562973 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><img decoding=\"async\" class=\" wp-image-24925 alignleft\" src=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2019\/08\/logo.png\" alt=\"MySQL Server logo\" width=\"309\" height=\"185\" \/><\/p>\n<p><em><span class=\"TextRun SCXW42594689 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW42594689 BCX0\">\u201cI<\/span><\/span><\/em><em><span class=\"TextRun SCXW42594689 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW42594689 BCX0\">\u2019ve recently found <\/span><\/span><span class=\"TextRun SCXW42594689 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW42594689 BCX0\">myself using Microsoft Visual Studio on my laptop as my \u2018daily driver.\u2019\u00a0<\/span><\/span><span class=\"TextRun SCXW42594689 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW42594689 BCX0\">I have a history with VS. But I also really like how the product is developing as of late. The pace of innov<\/span><\/span><span class=\"TextRun SCXW42594689 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW42594689 BCX0\">ation is great and the team behind it extremely responsive.\u00a0<\/span><\/span><span class=\"TextRun SCXW42594689 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"ContextualSpellingAndGrammarError SCXW42594689 BCX0\">Thu<\/span><\/span><span class=\"TextRun SCXW42594689 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"ContextualSpellingAndGrammarError SCXW42594689 BCX0\">s<\/span><\/span><span class=\"TextRun SCXW42594689 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW42594689 BCX0\">\u00a0individual users like me are feeling increasingly \u2018in control\u2019 and that drives loyalty up.\u201d\u00a0<\/span><\/span><span class=\"EOP SCXW42594689 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/em><\/p>\n<p>&nbsp;<\/p>\n<p><span class=\"TextRun SCXW6498934 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW6498934 BCX0\">Thank <\/span><\/span><span class=\"TextRun SCXW6498934 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"ContextualSpellingAndGrammarError SCXW6498934 BCX0\">you Georgi<\/span><\/span><span class=\"TextRun SCXW6498934 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW6498934 BCX0\">\u00a0for using Visual Studio and for the kind words. Our team looks forward to\u00a0<\/span><\/span><span class=\"TextRun SCXW6498934 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW6498934 BCX0\">continu<\/span><\/span><span class=\"TextRun SCXW6498934 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW6498934 BCX0\">ing to<\/span><\/span><span class=\"TextRun SCXW6498934 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW6498934 BCX0\">\u00a0improv<\/span><\/span><span class=\"TextRun SCXW6498934 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW6498934 BCX0\">e<\/span><\/span><span class=\"TextRun SCXW6498934 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW6498934 BCX0\">\u00a0the product based on feedback we receive from the community.\u00a0<\/span><\/span><span class=\"TextRun SCXW6498934 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW6498934 BCX0\">Check out the\u00a0<\/span><\/span><a class=\"Hyperlink SCXW6498934 BCX0\" href=\"https:\/\/mysqlserverteam.com\/compiling-mysql-in-visual-studio-on-a-remote-linux-box\/\" target=\"_blank\" rel=\"noopener noreferrer\"><span class=\"TextRun Underlined SCXW6498934 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW6498934 BCX0\">full story\u00a0<\/span><\/span><span class=\"TextRun Underlined SCXW6498934 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW6498934 BCX0\">from the MySQL Server Team<\/span><\/span><\/a><span class=\"TextRun SCXW6498934 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW6498934 BCX0\">\u00a0<\/span><\/span><span class=\"TextRun SCXW6498934 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW6498934 BCX0\">(+ step-by-step instructions for getting started)\u00a0<\/span><\/span><span class=\"TextRun SCXW6498934 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW6498934 BCX0\">on the MySQL Server Blog!\u00a0<\/span><\/span><span class=\"EOP SCXW6498934 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The MySQL\u00a0Server Team\u00a0recently shared on their blog how to use Visual Studio 2019 to edit, build,\u00a0and debug MySQL on a remote Linux server.\u00a0This\u00a0leverages Visual Studio\u2019s\u00a0native support for CMake\u00a0and\u00a0allows them to\u00a0use\u00a0Visual\u00a0Studio\u00a0as a front-end while outsourcing all the \u201cheavy lifting\u201d (compilation, linking, running) to a remote Linux machine.\u00a0\u00a0 \u201cI\u2019ve recently found myself using Microsoft Visual Studio on [&hellip;]<\/p>\n","protected":false},"author":2953,"featured_media":24925,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-24924","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cplusplus"],"acf":[],"blog_post_summary":"<p>The MySQL\u00a0Server Team\u00a0recently shared on their blog how to use Visual Studio 2019 to edit, build,\u00a0and debug MySQL on a remote Linux server.\u00a0This\u00a0leverages Visual Studio\u2019s\u00a0native support for CMake\u00a0and\u00a0allows them to\u00a0use\u00a0Visual\u00a0Studio\u00a0as a front-end while outsourcing all the \u201cheavy lifting\u201d (compilation, linking, running) to a remote Linux machine.\u00a0\u00a0 \u201cI\u2019ve recently found myself using Microsoft Visual Studio on [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/24924","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/users\/2953"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/comments?post=24924"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/24924\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media\/24925"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media?parent=24924"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/categories?post=24924"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/tags?post=24924"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}