Samuel, eu nunca trabalhei com esse tipo de conexão como você tem no documento.
Se quiser testar esta, fica aqui:
Cole num modulo e salve, sem alterar nada:
Option Explicit
'Requer a marcação da Referencia Microsoft ActiveX Data Objects x.x Library
Dim conn As ADODB.Connection
Dim rs As ADODB.Recordset
Dim username As String
Dim passwd As String
Dim serverIP As String
Dim db As String
Public Function connectMysql(username As String, passwd As String, serverIP As String, db As String, conn As ADODB.Connection, rs As ADODB.Recordset)
Set conn = New ADODB.Connection
Set rs = New ADODB.Recordset
conn.CursorLocation = adUseClient
conn.ConnectionString = "DRIVER={MySQL ODBC 3.51 Driver};SERVER=" & serverIP & ";UID=" & username & ";PWD=" & passwd & ";DATABASE=" & db & ";" _
& "OPTION=" & 1 + 2 + 8 + 32 + 2048 + 163841
conn.Open
End Function
Cole no evento ao carregar do seu formulario:
Private Sub Form_Load()
Dim conn As ADODB.Connection
Dim rs As ADODB.Recordset
Dim username As String
Dim passwd As String
Dim serverIP As String
Dim db As String
Dim ssql As String
Call connectMysql("root", "rfgsdn", "10.39.10.114", "patrimonio_sql", conn, rs)
ssql = "SELECT * FROM cadastre_patrimonio"
rs.Open ssql, conn
Set Me.Recordset = rs
Me.Codigo.ControlSource = "Codigo"
Me.Regional.ControlSource = "Regional"
'E os outros campos que constam na tabela.
End Sub
Tome atenção aos nomes corretos da tabela no MySQL, se é cadastre_patrimonio, ou é cadastro_patrimonio.