*Urgent* Please help: Mariadb access from VM

Hello Dear Erpnext team, thanks for giving us the best erp solution hands down; I need to hook up to the mysql/mariadb in the vm; I have the sql workbench and just need the port; I would like to export the data and move to v5 as my v4 is stock in the updating we will be back shortly. I figured I should grab the newest VM and import the entire database into this new installation. Please help. Thanks.

MySQL Server port is 3306