Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Jacob Quinn here, package maintainer for the ODBC package for Julia.</p> <p>A few things to help you understand how the process works:</p> <p>-ODBC is an API middle layer originally developed by Microsoft to create a common interface between DB systems and applications. This was useful because with the number of different DB systems, it would be hard to have applications that could reliably connect to any DB.</p> <p>-ODBC has been ported to Linux/Unix/OSX systems through 2 main projects: iodbc (mainly OSX) and unixODBC (Linux)</p> <p>-The basic components of the API are the ODBC Manager, which is the middle layer, the DB system, the application, and the ODBC <em>driver</em>, which is DB-specific and actually implements the communication between application-ODBC Manager and ODBC Manager-DB system.</p> <p>-In the case of RMySQL, only the MySQL driver has been implemented with R wrapper functions which allow the connection to MySQL DB systems</p> <p>-In the case of ODBC.jl (and the corresponding RODBC for R), a more generalized approach is taken where wrapper functions of the ODBC Manager are provided, which allow connection with <em>any</em> DB system, provided the user has the correct DB driver installed and connection string</p> <p>Hopefully that helps understand the ODBC process a little better.</p> <p>So for your case, it looks like you don't have the MySQL driver installed since it didn't show up in your ODBC Manager. You can find the driver <a href="http://dev.mysql.com/downloads/connector/odbc/#downloads" rel="noreferrer">here</a>. </p> <p>Once you have the driver installed, it should be pretty simple to set up a DSN (following either MySQL documentation or the excellent connectionstrings.com, <a href="http://www.connectionstrings.com/mysql-connector-odbc-5-1/" rel="noreferrer">MySQL Section</a>).</p> <p>You should then be able to start using ODBC in julia:</p> <pre><code>Pkg.add("ODBC") using ODBC ODBC.connect(dsn) query("select * from customers") </code></pre> <p>If you run into any other issues or troubles getting things setup or installed, feel free to open an issue <a href="https://github.com/karbarcca/ODBC.jl/issues?state=open" rel="noreferrer">here</a> and I'm more than willing to help troubleshoot the setup to get you going.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload