Hello goodnight, I've solved it.
uninstall mysql-server:
apt-get remove mysql-server
and went back to install:
apt-get install mysql-server
after the command
mysqladmin -u root-p password "password"
it puts the mysql root password.
Thank you all for the help.