I have 2 errors when executing “docker-compose up”
docker-databaseimportexport-1 | ERROR 1396 (HY000) at line 1: Operation CREATE USER failed for ‘s.je’@‘%’
docker-databaseimportexport-1 | ERROR 1396 (HY000) at line 1: Operation CREATE USER failed for ‘student’@‘%’
Does someone already had this problem and found the solution ?
Can you please post the full
docker-compose.yaml you’re using?
it tell me that as new user I can’t upload file here, I paste all the code under there … sorry for that…
I’m thinking the application isn’t using the MySQL password you’ve provided and hence you get the error. Can you try using the password the book suggests you use?
thanks for you answer, but I searched in all the chapter 1 of the book but I can’t find any suggest of password, can you enlighten me ?
Just to precise I didn’t touched anything but the 80 port in the docker-compose.yaml . I changed the 80 port because I had the 80 already used.
I tried to access https://v.je/ and it works even the powershell stay stuck avec the 2 lines of error
If it works then it would seem you don’t need the
vjedev/database-import-export container at the moment.
For now I would just ignore the error if I were you until you find something in the database appears to be missing.
I will do with it for now ^^
Thank you for your help ! And have a nice day !