you need to check that you have correct root password for mysql
you can check if you have mysql root password set with this command
mysql -uroot
mysql root password locations:
for shell
cat /root/.my.cnf
or for CWP
cat /usr/local/cwpsrv/htdocs/admin/include/db_conn.php