Error mySQL connect

I’m using Julia 1.8.5 and I’m trying to operate on a mysql database.

When I try to use the below string I get a UndefVarError:mysql_connect. I wonder if there’s a compatibility problem because the code I’m using seems legit:

using MySQL
using FileIO
using CSV

const MYSQL_HOST = "string"
const MYSQL_USER = "string"
const MYSQL_PASSWORD = "string"
const MYSQL_DB = "string"


con = mysql_connect(MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, db = MYSQL_DB, port=3306)

Apparently mysql_connect is the wrong name for the function you seek. The getting started of MySQL.jl uses DBInterface.connect(MySQL.Connection, host, user, passwd)