How to Install MySQL 8.0.30 on MAC OS M1/M2

Prashant Rana
Prashant Rana
19.2 هزار بار بازدید - 2 سال پیش - In this Video, We're going
In this Video, We're going to see How We Can Download & install MySQL 8 on MAC OS M1/M2 Machines.
To Download the MySQL Installer URL - https://dev.mysql.com/downloads/mysql/

MySQL Default Installation Location - /usr/local/mysql-8.0.30-macos12-arm64/bin

Terminal Commands -
Check Shell Installed on Machine - echo $SHELL
Create Bash_Profile/ZSH ENV File - touch .bash_profile/touch .zshenv (Create Shell Depending upon Default Shell on your Machine)
Open Bash File - vi .bash_profile/vi .zshenv
Export Command for MySQL - export PATH=${PATH}:/usr/local/mysql-8.0.30-macos12-arm64/bin

MySQL Commands -
First We Need to Open the Terminal and Write MySQL Command - mysql -u root -p

Command to Check Databases - show databases;
SQL Command to Create Database - create database database_name;
Use Specific Database - use database_name;

#mysql #sqlserver #sql
2 سال پیش در تاریخ 1401/07/07 منتشر شده است.
19,234 بـار بازدید شده
... بیشتر