Hi there,
Create a DB inside MySQL using MySQL Workbench and give it a DB Name.
Then with CommandBox session open, go to the Lucee Server and enter a Datasource for your MySQL instance.
Name [a name for this Datasource that you can use in your cfquery calls]
Host/Server Localhost
Database [your MySQL DB Name]
Port 3306
Username [for MySQL]
Password [for MySQL]
You will see error messages if something is not right and a green OK if all is well with the MySQL connection.
Also ensure that your local firewall allows traffic on 3306.