Skip to content

Golang Microsoft Access Driver Add-On supporting decoding without password

License

Notifications You must be signed in to change notification settings

bennof/accessDBwE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

accessDBwE

Microsoft ADODB driver conforming to the built-in database/sql interface with automated encoding

This is based on go-adodb from Yasuhiro Matsumoto (a.k.a mattn)

Installation

This should work:

go get github.com/bennof/accessDBwE

Documentation

For API and usage see:

http://godoc.org/github.com/mattn/go-adodb

The only addition is: reading out the so called password from the mdb or accessdb file.

import (
    ...
    "database/sql"
    "accessDBwE"
)

func main()  {
    var db *sql.DB
    var err error 
    db, err = accessDBwE.Open("adodb","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=SomeFile.mdb;")

    // use db like any other sql.db handle
}

The "Jet OLEDB:Database Password=" key, value pair will be added automatically if it is needed.

Be carefull setting the provider to correct drivers.

License

BSD (3-Clause)

Author

Benjamin Benno Falkner

About

Golang Microsoft Access Driver Add-On supporting decoding without password

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages