Tuesday, 29 January 2019

Mysql 8 Server and workbench installation

🚀 Master Database & Java Development!

Looking for straightforward, step-by-step developer tutorials? Subscribe to Ram N Java for more clear setup guides and hands-on coding walkthroughs!

🔔 Subscribe to Ram N Java

Introduction: Why Install MySQL 8 and MySQL Workbench?

MySQL 8 is one of the world's most popular open-source relational database management systems, offering robust performance, reliability, and security for modern web applications.

To interact with MySQL efficiently without typing everything into a terminal, MySQL Workbench provides a graphical interface (GUI) for database architecture, schema design, running SQL queries, and server administration.

Step 1: Downloading the MySQL Installer

  1. Navigate to the official MySQL community downloads page.
  2. Select the MySQL Community Server or download the complete MySQL Installer for Windows.
  3. Choose the larger web installer package (MSI) to ensure all components, including documentation and samples, are available offline.

Step 2: Choosing Components in MySQL Installer

Run the downloaded installer. When prompted to select a setup type, you can select Developer Default or choose Custom to pick exactly what you need:

  • MySQL Server 8.x: The database engine itself.
  • MySQL Workbench: The visual GUI tool to design tables and run queries.
  • MySQL Shell / Connectors (Optional): Useful for programming connectors (such as Connector/J for Java applications).

Step 3: Configuring the MySQL Server

  1. Port & Network Type: Keep the default TCP/IP port 3306 enabled.
  2. Authentication Method: Select Use Strong Password Encryption (Recommended).
  3. Root Account Password: Choose a strong administrative password for the root user and make sure to save it safely.
  4. Windows Service: Ensure Configure MySQL Server as a Windows Service is checked so MySQL boots automatically with Windows.
  5. Click Execute to apply configurations, initialize the database, and start the service.

Step 4: Connecting via MySQL Workbench

Once installation finishes, launch MySQL Workbench:

  • Under MySQL Connections, click the default connection Local instance MySQL80 (pointing to localhost:3306).
  • Enter your root password when prompted.
  • You are now inside the Workbench dashboard, ready to write SQL queries and create schemas!

Recommended Related Tutorials

Continue your database and Java development setup with these tutorials from Ram N Java:


Click here to watch on Youtube:
https://www.youtube.com/watch?v=2_5JoKb9X48&list=UUhwKlOVR041tngjerWxVccw

Refer: 
https://www.mysql.com/downloads/

See also:

  • All JavaEE Videos Playlist
  • All JavaEE Videos
  • All JAVA EE Links
  • Spring Tutorial
  • Servlets Tutorial
  • All Design Patterns Links
  • JDBC Tutorial
  • Java Collection Framework Tutorial
  • JAVA Tutorial
  • Kids Tutorial
  • Cooking Tutorial
  • No comments:

    Post a Comment

    Tutorials