Skip to content

Files

Latest commit

288b2c4 · Oct 21, 2024

History

History
21 lines (13 loc) · 557 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 557 Bytes

Let's Go - SnippetBox

This repository contains the sample project code from the Let's Go book by Alex Edwards.

Database

Starting the database

docker compose up -d

Connecting to the database

mysql -h 127.0.0.1 -P 3306 -D snippetbox -u devuser -p

Enter the password used in docker-compose.yml.

Note: If devuser does not have appropriate permissions to access snippetbox you can use the root user and password (also found in docker-compose.yml) to grant those permissions.