Docker Storage Lab, foo database is EMPTY!

Questions 4
It says that data has been written to the database and i gotta execute the get-data.sh to show it and count the rows.

the get-data.sh content is < docker exec mysql-db mysql -pdb_pass123 -e ‘use foo; select * from myTable’ >

It gives error because the Database is actually empty

PS: Even after reload, refresh it doesnt work, and btw later in the lab it same database works fine.

Hi,

Thanks for your feedback.

Please share the lab link, I’ll check it.

I faced the same issue with the same exact error.

This is the link to the lab “Docker Storage”:
https://learn.kodekloud.com/user/courses/docker-training-course-for-the-absolute-beginner/module/8eec0a67-f2a1-4b9b-8c25-9c9ddc3e48b6/lesson/6d81499b-42ef-498a-a025-7d9d77a022c5

https://learn.kodekloud.com/user/courses/docker-training-course-for-the-absolute-beginner/module/8eec0a67-f2a1-4b9b-8c25-9c9ddc3e48b6/lesson/6d81499b-42ef-498a-a025-7d9d77a022c5

I believe this is an intermittent error in the setup script; most of the time, the lab should do this w/o a problem. Please try it again; it likely will work.