Initial configuration on MySQL in MAMP
Contents
A very short memo for MySQL configuration on MAMP.
Versions:
- MAMP: 7.2
- MySQL: 8.0.40 (able to switch 5.7.44)
Access to MYSQL on MAMP
You need to follow the direct path in mysql command in MAMP library.
|
|
Change the mysql password
The default mysql password of MAMP is root
. You can change the password on mysql commandline tool.
|
|
Create database, load the sql dump file.
It’s the same as what we do on the mysql.
|
|
Create a database.
|
|
Load the schema and table data.
|
|