it is mentioned in the log:
Failed to find valid data directory
then it means that when you set up volume, one of the two corresponding folders may be empty (it is estimated that there is no / yundata/docker-data), you can first remove the "- v / yundata/docker-data/:/var/lib/mysql" paragraph, and then start it to try, it should be no problem.
of course, you can also manually
mkdir /yundata/docker-data
try to create the container again.
I hope I can help you.
:win10 :docker mysql:5.7 $con = mysqli_connect("127.0.0.1","root","root"); var_dump(mysqli_connect_error()); :string(18) "Connection refused" $con2 = mysqli_connect("localhost","root","ro...
I installed mysql inside docker and can be used in mac. Host is 127.0.0.1 after I put my node application on docker using docker s build command, host reported the following error whether it was 127.0.0.1 or 0.0.0.0 connect ECONNREFUSED 0.0.0...
problem description my system environment is as follows: my computer system is macOS Mojave 10.14.2 Database management software is: MySQLWorkbench8.0 Database is: mysql8.0 version image container installed with docker when exporting data, t...