I haven’t done anything - as I said, it is a completely fresh install of Ubuntu 20.04 and CyberPanel. Nothing else was done. So, if that’s the case, CyberPanel is doing something wrong with passwords when installing on Ubuntu (18.04 and 20.04)
This has also been reported in many other threads over the years - just search for ERROR 1045 (28000): Access denied for user 'root'@'localhost'
- Problem installing cyberpanel on 18.04 (mysql error) - Support and Discussion / General Discussion - CyberPanel Community
- CyberPanel Ubuntu Bug Reports - CyberPanel Project / Bug Report - CyberPanel Community
- Some Dont’s After Installing CyberPanel! - Docs / Unfiled - CyberPanel Community
- FATAL ERROR: Upgrade failed - Support and Discussion / Database Server - CyberPanel Community
- Access denied for user - Support and Discussion / Database Server - CyberPanel Community
Websites still work, so its not catastrophic, but it is clearly an issue that should be resolved.