Below is the solution:
Creating a database in Mac using MAMP
1. Download the MAMP form www.mamp.info website for MAC
2. install the MAMP on MAC

3. Open the MAMP and select the start server.

When click on Start Server the browser will open or select the
Open WebStart page to open on browser,

Now select the Tools menu and select PHPMYADMIN

In phpMyAdmin select Database to create a New Database

Give the database name and click on the button create to create
a database.

Now the database is created with the named TestDatabase.
Install MAMP & MAMP PRO 5.5 Installing MAMP & MAMP PRO 5.5 Introduction Read Me Writing files... License Destination Select Installation Type • Installation Summary Install time remaining: About a minute Go Back Continue
MAMP DO MAMP Apache Servero MySQL Server o Cloud Cloud Open WebStart page Start Servers
MAMP DO MAMP Apache Server MySQL Server Cloud . Cloud Open WebStart page Stop Servers
→ C ourite o 10S/SWIFT localhost:8888/MAMP/?language=English, C D - o o © Spice Bowl Financia ... How to calculate F... Ron START MY WEBSITE TOOLS MAMP WEBSITE PHPINFO PHPMYADMIN PHPLITEADMIN (NEEDS PHP 5.2.4 TO 7.0.X) MAN APC (NOT LOADED) EACCELERATOR (NOT LOADED) XCACHE (NOT LOADED) OPCACHE (NOT LOADED) up to dat
Server.localhost:8889 Databases 27 SQL Status User accounts Export Import 3 Settings Replication @ Variables 19 Charsets More Databases Create database o TestDatabase utf8_general_ci Create Database Collation Action information_schema utf8_general_ci Check privileges mysql utf8_general_ci Check privileges performance_schema utf8_general ci Check privileges sys utf8_general_ci Check privileges Total: 4 utf8_general_ci Check all With selected: Drop -
phpMyAdmin Status User accounts Export Import 22 yerver canogi Databases & SQL Databases Create database o Recent Favorites Database name utf8_general_ci C Create New information_schema 回mysql performance_schema SVS TestDatabase Database Collation Action information_schema utf8_general_ci Check privileges mysql utf8_general_ci Check privileges performance_schema utf8_general_ci Check privileges sys utf8_general_ci Check privileges TestDatabase utf8_general_ci Check privileges utf8 general ci Jump to database 'TestDatabase O Gneck all vir selecteu: Drop L