我已经在Fedora mysql-community-server-5.7.9-1.fc21.x86_64上安装了mysql社区服务器。我一直收到错误Access denied for user 'root'@'localhost' (using password: NO)
当我执行mysqld_safe --skip-grant-tablesPlease cd to the mysql installation directory and restart this script f
2021-03-27 13:16:08+00:00 [ERROR] [Entrypoint]: MYSQL_USER="root", MYSQL_USER and MYSQL_PASSWORD arefor configuring a regular user and cannot be used for the root user
Remove MYSQL_USER="root" and useone of the follo
因此,我必须设置MySQL、phpmyadmin和Apache来访问网站。我希望使用docker及其docker-compose应用程序来简化安装(如果我可以学习的话)。我无法将mysql和phpmyadmin应用程序设置为一起工作。如果我能通过这个第一步,我将尝试安装tomcat。这是我使用的代码(docker-compose.yml)services: image: mysql
restart: alwaysMYSQL_US
pra@pra-K55N:~$ sudo mysqlERROR 1045 (28000): Access denied for user 'rootEnter password for user root:
Error: Access denied for user 'root'@'localhost' (using password: YES)[1]+ Exit 1 sudo my