Created
January 31, 2014 22:33
-
-
Save alienfluid/8744619 to your computer and use it in GitHub Desktop.
ODBC Error while querying data from MySQL (#julialang)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
julia> ODBC.connect("mysql-prod2") | |
ODBC Connection Object | |
---------------------- | |
Connection Data Source: mysql-prod2 | |
mysql-prod2 Connection Number: 1 | |
Contains resultset? No | |
julia> results = query("select * FROM company LIMIT 100") | |
ERROR: no method unsafe_copy!(Ptr{UTF8String},Ptr{Uint32},Int64) | |
in ODBCCopy! at /Users/fahmed/.julia/ODBC/src/backend.jl:129 | |
in ODBCFetchDataFrame at /Users/fahmed/.julia/ODBC/src/backend.jl:135 | |
in query at /Users/fahmed/.julia/ODBC/src/userfacing.jl:57 | |
in query at /Users/fahmed/.julia/ODBC/src/userfacing.jl:43 | |
julia> Pkg.status() | |
Required packages: | |
- DataFrames 0.4.1 | |
- ODBC 0.3.3 | |
- RDatasets 0.0.2 | |
Additional packages: | |
- Blocks 0.0.1 | |
- DataArrays 0.0.1 | |
- Datetime 0.1.2 | |
- GZip 0.2.5 | |
- SortingAlgorithms 0.0.1 | |
- Stats 0.2.8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment