{"id":10442,"date":"2021-04-08T08:33:39","date_gmt":"2021-04-08T08:33:39","guid":{"rendered":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=10442"},"modified":"2025-05-30T13:01:35","modified_gmt":"2025-05-30T12:01:35","slug":"how-to-connect-to-a-database-via-mysql-workbench","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-connect-to-a-database-via-mysql-workbench\/","title":{"rendered":"How to Connect to a Database via MySQL Workbench?"},"content":{"rendered":"<p>MySQL Workbench is an open-source application to connect with the databases on server machines from any computer.<\/p>\n<p>You can download MySQL Workbench at this link for free:<\/p>\n<pre class=\"lang:default decode:true\">https:\/\/dev.mysql.com\/downloads\/workbench\/<\/pre>\n<div class=\"kb-wisdom-wrapr kb-wisdom-info kb-wisdom-wrapr-blue\">\n<div class=\"kb-wisdom-col kb-wisdom-col-icon\">\n<div class=\"kb-wisdom-icon\">\n<div><\/div>\n<\/div>\n<\/div>\n<div class=\"kb-wisdom-col kb-wisdom-col-content\">\n<p><strong>Note<\/strong>: Before installing the MySQL Workbench, the system requires you to install the Visual C++ Redistributable Package version 2015-2019. The installation will not proceed unless you do so.<\/p>\n<\/div>\n<\/div>\n<h2>To Connect with a Database via MySQL Workbench<\/h2>\n<p>1. Open the <strong>MySQL Workbench<\/strong> application.<\/p>\n<p>2. Click on the <strong>&#8216;+&#8217; icon<\/strong> beside the MySQL connections, as shown in the screenshot.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11338\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/04\/new_con_db.jpg\" alt=\"\" width=\"1916\" height=\"1023\" \/><\/p>\n<p>3. The <strong>Set up a New Connection<\/strong> dialogue box will open. Enter the necessary details in the respective fields. Here&#8217;s a description to help you understand how to fill them.<\/p>\n<ul>\n<li><strong>Connection Name<\/strong>: Enter the name for your connection here.<\/li>\n<li><strong>Connection Method<\/strong>: The method\/protocol with which MySQL Workbench makes the connection. Leave it as the default: <strong>Standard (TCP\/IP)<\/strong>.<\/li>\n<li><strong>Hostname<\/strong>: The <strong>IP address<\/strong> of the host where the database is located.<\/li>\n<li><strong>Port<\/strong>: No need to change it from the default <strong>3306<\/strong>.<\/li>\n<li><strong>Username<\/strong>: Enter the username for your control panel account or the created user for the database.<\/li>\n<li><strong>Password<\/strong>: Enter the password for your control panel account or the database user you created. Click on <strong>Store in Vault<\/strong>.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11336\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/04\/enter_con_details.jpg\" alt=\"\" width=\"985\" height=\"618\" \/><\/p>\n<p>The <strong>Store Password For Connection<\/strong> window will open. Enter the password and click <strong>OK<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11335\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/04\/con_pass.jpg\" alt=\"\" width=\"517\" height=\"248\" \/><\/p>\n<p>5. To check if the connection can be established, click the <strong>Test Connection<\/strong> button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11340\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/04\/test_con_details.jpg\" alt=\"\" width=\"985\" height=\"618\" \/><\/p>\n<p>6. A success message shows up and displays the information related to the connection. Click on <strong>OK<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11341\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/04\/wb_con_success.jpg\" alt=\"\" width=\"467\" height=\"337\" \/><\/p>\n<p>7. Click <strong>OK<\/strong> of the <strong>Set up a New Connection<\/strong> dialogue box to create the connection.<\/p>\n<p>8. The newly created connection gets listed below the MySQL connections. Click on the connection.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11339\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/04\/test_con_db.jpg\" alt=\"\" width=\"1920\" height=\"738\" \/><\/p>\n<p>The database is opened in the adjacent window displaying its tables.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11337\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/04\/mysql_wb_win.jpg\" alt=\"\" width=\"1912\" height=\"1026\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>MySQL Workbench is an open-source application to connect with the databases on server machines from any computer. You can download MySQL Workbench at this link for free: https:\/\/dev.mysql.com\/downloads\/workbench\/ Note: Before installing the MySQL Workbench, the system requires you to install the Visual C++ Redistributable Package version 2015-2019. The installation will not proceed unless you do [&hellip;]<\/p>\n","protected":false},"author":27,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[230,41,947],"tags":[1971,1970,2098,1663,2099,471,2100],"class_list":["post-10442","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-database","category-howtos","category-mysql","tag-connect-database","tag-connect-mdb","tag-connect-to-a-database-via-mysql-workbench","tag-connect-to-mysql","tag-connect-to-mysql-database","tag-mysql-database","tag-mysql-workbench"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Connect to a Database via MySQL Workbench?<\/title>\n<meta name=\"description\" content=\"Thsi article guides you to the process of connecting with a database on a server with the help of MySQL Workbench application.\" \/>\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.milesweb.co.uk\/hosting-faqs\/how-to-connect-to-a-database-via-mysql-workbench\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Connect to a Database via MySQL Workbench?\" \/>\n<meta property=\"og:description\" content=\"Thsi article guides you to the process of connecting with a database on a server with the help of MySQL Workbench application.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-connect-to-a-database-via-mysql-workbench\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2021-04-08T08:33:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-30T12:01:35+00:00\" \/>\n<meta name=\"author\" content=\"Prasad Khartadkar\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prasad Khartadkar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-connect-to-a-database-via-mysql-workbench\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-connect-to-a-database-via-mysql-workbench\/\",\"name\":\"How to Connect to a Database via MySQL Workbench?\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-connect-to-a-database-via-mysql-workbench\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-connect-to-a-database-via-mysql-workbench\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/04\/new_con_db.jpg\",\"datePublished\":\"2021-04-08T08:33:39+00:00\",\"dateModified\":\"2025-05-30T12:01:35+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e\"},\"description\":\"Thsi article guides you to the process of connecting with a database on a server with the help of MySQL Workbench application.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-connect-to-a-database-via-mysql-workbench\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-connect-to-a-database-via-mysql-workbench\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-connect-to-a-database-via-mysql-workbench\/#primaryimage\",\"url\":\"\",\"contentUrl\":\"\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-connect-to-a-database-via-mysql-workbench\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Connect to a Database via MySQL Workbench?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e\",\"name\":\"Prasad Khartadkar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fafb102a39aa8f8d38a11f3e2dcfa746?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fafb102a39aa8f8d38a11f3e2dcfa746?s=96&d=blank&r=g\",\"caption\":\"Prasad Khartadkar\"},\"description\":\"Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/prasad-khartadkar\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Connect to a Database via MySQL Workbench?","description":"Thsi article guides you to the process of connecting with a database on a server with the help of MySQL Workbench application.","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.milesweb.co.uk\/hosting-faqs\/how-to-connect-to-a-database-via-mysql-workbench\/","og_locale":"en_GB","og_type":"article","og_title":"How to Connect to a Database via MySQL Workbench?","og_description":"Thsi article guides you to the process of connecting with a database on a server with the help of MySQL Workbench application.","og_url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-connect-to-a-database-via-mysql-workbench\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2021-04-08T08:33:39+00:00","article_modified_time":"2025-05-30T12:01:35+00:00","author":"Prasad Khartadkar","twitter_misc":{"Written by":"Prasad Khartadkar","Estimated reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-connect-to-a-database-via-mysql-workbench\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-connect-to-a-database-via-mysql-workbench\/","name":"How to Connect to a Database via MySQL Workbench?","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-connect-to-a-database-via-mysql-workbench\/#primaryimage"},"image":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-connect-to-a-database-via-mysql-workbench\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/04\/new_con_db.jpg","datePublished":"2021-04-08T08:33:39+00:00","dateModified":"2025-05-30T12:01:35+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e"},"description":"Thsi article guides you to the process of connecting with a database on a server with the help of MySQL Workbench application.","breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-connect-to-a-database-via-mysql-workbench\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-connect-to-a-database-via-mysql-workbench\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-connect-to-a-database-via-mysql-workbench\/#primaryimage","url":"","contentUrl":""},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-connect-to-a-database-via-mysql-workbench\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How to Connect to a Database via MySQL Workbench?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e","name":"Prasad Khartadkar","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/fafb102a39aa8f8d38a11f3e2dcfa746?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fafb102a39aa8f8d38a11f3e2dcfa746?s=96&d=blank&r=g","caption":"Prasad Khartadkar"},"description":"Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/prasad-khartadkar\/"}]}},"views":520,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/10442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=10442"}],"version-history":[{"count":4,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/10442\/revisions"}],"predecessor-version":[{"id":15391,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/10442\/revisions\/15391"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=10442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=10442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=10442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}