我有 Linux 和 Apache2,但对于 MySql,我按照教程安装 LAMP。我跟着它,在我们必须跑的地方之后,我得到了.但根据教程,我应该得到:sudo mysql
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 22
Server version: 8.0.19-0ubuntu5 (Ubuntu)
Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
请任何人尽快帮助我,因为我正在做的课程有截止日期。此外,如果网络上有任何文档,请分享。
如果您需要有关错误的更多信息,请告诉我以及如何提取它们。
谢谢。
慕少森