Deploy Lamp Stack on Kubernetes Cluster Task

did you have any luck with this, I have created the containers and pods are running. But I have no idea how to access or see the results anywhere.

Can anyone please tell how to do the below task.

a) import the db.sql dump to the database which you are created in mysql-container. I tried below steps but getting error

thor@jump_host /$ kubectl exec -it lamp-wp-b84f6db5c-5pf76 -c mysql-container – mysql -uroot -pR00t kodekloud_db3 < /tmp/db.sql
Unable to use a TTY - input is not a terminal or the right kind of file
Warning: Using a password on the command line interface can be insecure.
ERROR 1045 (28000): Access denied for user ‘root’@‘10.44.0.0’ (using password: YES)
command terminated with exit code 1

This is the command, it should work. If you are getting any user credentials erro, check environment variables and secretes are correct.
kubectl exec -it $MYSQL -c mysql-container – mysql -uroot -pR00t -h localhost ${Dbase} < /tmp/db.sql