The Easiest Way to Connect to a Database via MySQL Workbench

MySQL Workbench, an open-source tool, facilitates seamless connection to server databases from any computer. 

Download it for free at this link: https://dev.mysql.com/downloads/workbench/

Important: Ensure successful installation by pre-installing the Visual C++ Redistributable Package version 2015-2019. The process won't proceed without this prerequisite.

 

Connecting to a Database Using MySQL Workbench:

  1. Launch the MySQL Workbench application.

  2. Select the '+' icon adjacent to MySQL connections, following the example in the provided screenshot.

 

https://www.milesweb.in/hosting-faqs/wp-content/uploads/2021/04/new_con_db.jpg

  1. You'll see the "Set Up a New Connection" dialog window appear. Fill up the blanks with relevant information. Use this tutorial to get started.

  • Connection Name: Assign a name to your connection.

  • Connection Method: Retain the default setting: Standard (TCP/IP).

  • Hostname: Input the IP address of the database host.

  • Port: Keep it unchanged at 3306.

  • Username: Input your control panel account username or the designated database user.

  • Password: Enter your control panel account password or the database user's password. Select "Store in Vault" before proceeding.

https://www.milesweb.in/hosting-faqs/wp-content/uploads/2021/04/enter_con_details.jpg

  1. The "Store Password For Connection" window will appear. Once you've typed in your password, click OK.

https://www.milesweb.in/hosting-faqs/wp-content/uploads/2021/04/con_pass.jpg

  1. To verify the connection's establishment, click the "Test Connection" button.

 

https://www.milesweb.in/hosting-faqs/wp-content/uploads/2021/04/test_con_details.jpg

  1. Upon successful connection, a message will appear with details about the connection. Click OK to proceed.

https://www.milesweb.in/hosting-faqs/wp-content/uploads/2021/04/wb_con_success.jpg

  1. Press OK in the "Set up a New Connection" dialog box to establish the connection.

  2. The recently created connection will be listed below MySQL connections. Click on the connection.

https://www.milesweb.in/hosting-faqs/wp-content/uploads/2021/04/test_con_db.jpg

The database opens in the nearby window, revealing its tables.

https://www.milesweb.in/hosting-faqs/wp-content/uploads/2021/04/mysql_wb_win.jpg


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 342