DataBase/MYSQL
SQL error:may be the input source is a directory or a block device
Naranjito
2022. 1. 24. 13:23
- SQL Error
db_1 | ERROR: Can't initialize batch_readline - may be the input source is a directory or a block device.
sql_db_1 exited with code 1
- Cause
I changed the name of sql file. 😅 So it doesn't match with docker-compose file.
- Solution
Put the sql file name back as before.
And then docker-compose down, docker-compose up.