An error was encountered

Error: Unable to connect to MySQL and select database. MySQL reported: Access denied for user 'root'@'192.168.1.2' (using password: YES).