Error 1698 access denied for user 'root'@'localhost' ubuntu

- Access denied for user 'root'@'localhost' ubuntu
- Access denied for user 'root'@'localhost' (using password yes) ubuntu
- Er_access_denied_error access denied for user 'root'@'localhost' (using password no)
- Uncaught mysqli_sql_exception access denied for user 'root'@'localhost' (using password no)
- Mysql_real_connect() access denied for user 'root'@'localhost'