Establish a connection to the MySQL database using the mysql.connector library.