What is the default password for mysql, installed in Ubuntu18.04 apt?

apt

I installed mysql server, with apt and I was not prompted to enter my root password during the installation process, so what is the default?

Apr.07,2021

the mysql installation process has an interactive operation that lets you enter your root password, which should be empty if you don't enter it (probably by turning off the interactive option for apt and skipping the interactive operation).

in addition, I remember that the default mysql of ubuntu 18.04 is 5.7. I remember that mysql 5.7 should automatically generate a password. In the / var/log/mysqld.log log file (or look for it in / var/log/mysql/*.log if not), there should be

printing a default password.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b375d9-4d727.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b375d9-4d727.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?