sudo nano /usr/local/ispconfig/server/lib/mysql_clientdb.conf


sudo systemctl stop MySQL
sudo mysqld_safe --skip-grant-tables &
mysql -u root

FLUSH PRIVILEGES;
ALTER USER 'root'@'localhost' IDENTIFIED BY 'NuevaContraseña';
FLUSH PRIVILEGES;
EXIT;

o

SET PASSWORD FOR 'root'@'localhost' = PASSWORD('Mysql.2025*ABC');

o
DROP USER 'root'@'localhost';
CREATE USER 'root'@'localhost' IDENTIFIED BY 'Mysql.2025*ABC';
GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' WITH GRANT OPTION;

o
UPDATE mysql.user SET authentication_string = PASSWORD('Mysql.2025*ABC') WHERE User = 'root' AND Host = 'localhost';

FLUSH PRIVILEGES;
sudo systemctl restart mysql