2233466866 / lnmp

Docker Linux+Nignx+MySQL+PHP+Node.js+Redis
https://hub.docker.com/r/2233466866/lnmp
MIT License
65 stars 34 forks source link

启动之后找不到mysql密码怎么办? #6

Closed twelife closed 2 years ago

twelife commented 3 years ago

看了日志文件里面没有;执行了 mysql_init 也不行

spawn mysql_secure_installation

Securing the MySQL server deployment.

Enter password for user root: 
Error: Access denied for user 'root'@'localhost' (using password: NO)
expect: spawn id exp6 not open
    while executing
"expect {
  "Re-enter new password:*" {exp_send "ASDFqwer1234####\n"}
}"
1992050500 commented 2 years ago

是不是之前配置过,挂载目录有遗留的配置文件

2233466866 commented 2 years ago

Error: Access denied for user 'root'@'localhost' (using password: NO) expect: spawn id exp6 not open while executing

2233466866 commented 2 years ago

已经更新README.md,请按文档处理该异常。

2233466866 commented 2 years ago

是不是之前配置过,挂载目录有遗留的配置文件 已经更新README.md,请按文档处理该异常。

twelife commented 2 years ago

好的,谢谢!