https://github.com/benyakirten/f1db
The formula 1 database (f1db) for The Art of Postgres formatted as a SQL script
https://github.com/benyakirten/f1db
art mysql mysql-unsupported-authentication of postgres the
Last synced: 25 days ago
JSON representation
The formula 1 database (f1db) for The Art of Postgres formatted as a SQL script
- Host: GitHub
- URL: https://github.com/benyakirten/f1db
- Owner: benyakirten
- Created: 2024-12-15T14:01:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-15T14:27:38.000Z (over 1 year ago)
- Last Synced: 2025-02-09T03:42:29.983Z (over 1 year ago)
- Topics: art, mysql, mysql-unsupported-authentication, of, postgres, the
- Homepage:
- Size: 6.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
The original database was downloaded from http://ergast.com/downloads/f1db.sql.gz. The SQL file was not compatible with Postgres, and pgloader had some difficulty interacting with the mysql database as described (even downgraded to mysql 8). Therefore, there have been some alterations made that allows the file to be easily loaded using the following command:
```bash
createdb f1db
psql -d f1db -U -f f1db.sql
```