What is -proot in the following command?

Viewed 105
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

1 Answers

The password used is actually root.

It's the same as:

mysql --host 127.0.0.1 --port 23306 --user root --password=root

Related