AutoCAD Map 3D Developer
Welcome to Autodesk’s AutoCAD Map 3D Developer Forums. Share your knowledge, ask questions, and explore popular AutoCAD Map 3D Developer topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get map from Mysql

0 REPLIES 0
Reply
Message 1 of 1
Sgear
314 Views, 0 Replies

Get map from Mysql

 

HI

I upload SHP to my Mysql server with ogr2ogr in the database I have area code so I can search by area

but I realy dont know how I can insert this data into Autocad map from Mysql are somone here who can help we with this
realy need litle help here Please

 

This is how I connect and query

 

        conn.ConnectionString = "DRIVER={MySQL ODBC 3.51 Driver};" _
                       & "SERVER=" & Mysql_server & ";" _
                      & " DATABASE=" & Mysql_database & ";" _
                    & "UID=" & Mysql_user & ";PWD=" & Mysql_password & "; OPTION=" & Mysql_config & ""


        Try
            conn.Open()         
        Catch ex As Exception
        Finally

        End Try

-------------

 rs.Open("SELECT * FROM street where areacode LIKE '" & Cbo_areacode.Text & "'", conn)

 

Regards

Sigster

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost