mysql --host 127.0.0.1 --port 23306 --user root -proot
I have no idea was -proot
is and I cannot find it in any documentation.
I am following the following instructions on how to set up a docker container with my SQL: Connect to mysql in a docker container from the host
CodePudding user response:
The password used is actually root
.
It's the same as:
mysql --host 127.0.0.1 --port 23306 --user root --password=root