https://github.com/qingquan-li/csc350-php-mysql-labs
https://github.com/qingquan-li/csc350-php-mysql-labs
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/qingquan-li/csc350-php-mysql-labs
- Owner: qingquan-li
- Created: 2023-09-12T20:32:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-02T22:01:30.000Z (over 1 year ago)
- Last Synced: 2025-01-26T10:08:26.843Z (4 months ago)
- Language: PHP
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CSC 350 - PHP - MySQL - Labs
## Run Docker
```bash
# Start Docker (build and run the docker container)
$ docker-compose up -d# Stop Docker (stop and remove the docker container)
$ docker-compose down
```## Connect to MySQL in the command line (terminal)
```bash
# Connect to the docker container
$ docker-compose exec db bash
$ mysql -u root -p
```