Skip to content

Commit b4b1758

Browse files
committed
Update README to specify --password with MySQL, consistent with
devbox.json. Also for mariadb, specify --socket to work around jetify-com#2522.
1 parent 2576ef3 commit b4b1758

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/databases/mariadb/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## mariadb Notes
44

55
1. Start the mariadb server using `devbox services up`
6-
1. Create a database using `"mysql -u root < setup_db.sql"`
6+
1. Create a database using `"mysql --socket-path=$MYSQL_UNIX_PORT --password='' < setup_db.sql"`
77
1. You can now connect to the database from the command line by running `devbox run connect_db`
88

99
## Services

examples/databases/mysql/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## mysql Notes
44

55
1. Start the mysql server using `devbox services up`
6-
1. Create a database using `"mysql -u root < setup_db.sql"`
6+
1. Create a database using `"mysql -u root --password='' < setup_db.sql"`
77
1. You can now connect to the database from the command line by running `devbox run connect_db`
88

99
## Services

0 commit comments

Comments
 (0)