My SQL Connector in Knime node Repository

Please can someone help me on how to connect MySQL Connector to my localhost using the Knime node repository? This is what I tried with:
Database dialect=MySQL
Driver Name=MySQL 8 [ID:MySQL 8]
hostname=localhost
port=3306
database name= noticeb
But I got an error message as execute failed: communications link failed

Hi @fbayor1 and welcome to the Knime Community.

Is your Knime and the MySQL server on the same machine?