Menu

Tree [943fca] develop /
 History

HTTPS access


File Date Author Commit
 .github 2021-02-17 Thomas Tromp Thomas Tromp [54a6c2] Update msbuild.yml
 Installer 2021-03-23 insoo90 insoo90 [b42448] Topic/installer (#34)
 odbc-ipfs 2021-03-13 insoo90 insoo90 [346e57] Topic/sql set env attr (#31)
 odbc-ipfs-cgo-ipfs 2021-03-20 Thomas Tromp Thomas Tromp [33d9ea] Added cgo ipfs implementation
 odbc-ipfs-go-node 2021-03-09 Thomas Tromp Thomas Tromp [f80460] Added Go database node
 odbc-ipfs-unit-test 2021-03-05 Thomas Tromp Thomas Tromp [d95a23] Topic/connector (#21)
 .gitattributes 2021-02-09 Thomas Tromp Thomas Tromp [29c75e] Initialize .gitattributes
 .gitignore 2021-03-09 Thomas Tromp Thomas Tromp [f80460] Added Go database node
 README.md 2021-03-20 Thomas Thomas [af606b] Update Readme License Location
 odbc-ipfs.sln 2021-03-23 insoo90 insoo90 [b42448] Topic/installer (#34)

Read Me

odbc-ipfs

MSBuild

Open Database Connectivity (ODBC) driver for IPFS

This driver uses libp2p's pubsub to send SQL queries. IPFS nodes then parse the request and return a response and synchronize among themselves.

WARNING: All database transactions are currently public using libp2p pubsub. NOTHING is encrypted yet.

Note: There is no built-in installer at the moment. You must manually edit the registry and create a .dsn file for now.

Creating File DSN File

  1. Create new file named "odbc-ipfs.dsn"
  2. Insert
    [ODBC] DRIVER=odbc-ipfs

Debugging

  • All ODBC functions in this driver have debug statements embedded in them.
  • To listen to an active driver's debug messages we use DebugView

Installing the driver in Windows Registry

  1. Open Windows Registry Editor

  2. Go to "Computer\HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers"

    • Add new "String Value" and set the name to "odbc-ipfs" (name is not important, it just must be consistent)
  3. Go to "Computer\HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI"

    • Add new "Key" and set the name to "odbc-ipfs"
  4. Go to "Computer\HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\odbc-ipfs"

    • Add new "String Value" and set the name to "Driver"
    • Right click "Driver", click "Modify..." and set "Value data:" equal to the .dll path (including the odbc-ipfs.dll, not just the folder)

    • Add new "String Value" and set the name to "Setup"

    • Right click "Setup", click "Modify..." and set "Value data:" equal to the .dll path (including the odbc-ipfs.dll, not just the folder)

    • Add new "DWORD" and set the name to "UsageCount"

    • Right click "UsageCount", click "Modify..." and set "Value data:" equal 1 (Base: hexadecimal)

License

FOSSA Status

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.