Skip to content

Instantly share code, notes, and snippets.

@philsch
Last active December 20, 2021 16:18
Show Gist options
  • Save philsch/c473c12ac53e4f3f3356b37909a7f773 to your computer and use it in GitHub Desktop.
Save philsch/c473c12ac53e4f3f3356b37909a7f773 to your computer and use it in GitHub Desktop.
> mysql -hlocalhost --protocol=TCP -u root --password=test testdb < seed-test-data.sql
> mysql -hlocalhost --protocol=TCP -u root -p
mysql> SELECT * FROM testdb.users;
+----+-------------+
| id | name |
+----+-------------+
| 1 | Jon Doe |
| 2 | Mr Anderson |
+----+-------------+
2 rows in set (0.01 sec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment