0% found this document useful (0 votes)
2 views2 pages

Note On Installing MySQL

The document provides a guide for installing MySQL on Windows, Linux (Ubuntu), and macOS, detailing the necessary steps for each platform. It includes instructions for downloading the installer, configuring the server, and accessing MySQL, as well as optional tools like MySQL Workbench and phpMyAdmin. Default credentials for first-time access are also mentioned, with the username as 'root' and the password set during installation.

Uploaded by

faseeha1812
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views2 pages

Note On Installing MySQL

The document provides a guide for installing MySQL on Windows, Linux (Ubuntu), and macOS, detailing the necessary steps for each platform. It includes instructions for downloading the installer, configuring the server, and accessing MySQL, as well as optional tools like MySQL Workbench and phpMyAdmin. Default credentials for first-time access are also mentioned, with the username as 'root' and the password set during installation.

Uploaded by

faseeha1812
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Note on Installing MySQL

Installing MySQL involves downloading the MySQL server, configuring it, and setting up the

environment for database development. Below is a brief guide for installing MySQL on different

platforms.

1. Installing MySQL on Windows

Steps:

- Download the MySQL Installer from https://dev.mysql.com/downloads/installer

- Run the installer and choose "Developer Default" or "Server Only"

- Configure MySQL server: choose configuration type, set port (default: 3306), set root password

- Complete installation and optionally install MySQL Workbench

2. Installing MySQL on Linux (Ubuntu)

Steps:

$ sudo apt update

$ sudo apt install mysql-server

Secure the installation:

$ sudo mysql_secure_installation

Access MySQL:

$ sudo mysql

3. Installing MySQL on macOS

Using Homebrew:
$ brew update

$ brew install mysql

$ brew services start mysql

Access MySQL:

$ mysql -u root

Optional Tools:

- MySQL Workbench: GUI for queries and design

- phpMyAdmin: Web-based MySQL interface

Default Credentials (First Time):

- Username: root

- Password: Set during installation

You might also like