New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I connect to MS DataBase #133
Comments
Hello, thanks for your question. I've personally never touched jupyter, but your screenshot shows that you're missing some |
Thanks @Koka Moreover, What shall I write instead of: |
I guess you could use |
About that type error - try to remove type declaration on env variable |
To avoid confusing I moved out of Jupyter and testing in Code: use odbc::*;
fn main() {
println!("Hello, world!");
env_logger::init();
let mut env = create_environment_v3().map_err(|e| e.unwrap()).unwrap();
let conn = env.connect_with_connection_string("Driver={Microsoft Access Driver (*.mdb, *.accdb)};
DBQ=C:/Users/hasan.yousef/Documents/ais_sc.accdb");
} But got: Finished dev [unoptimized + debuginfo] target(s) in 0.86s
Running `target\debug\db.exe`
Hello, world!
[2020-01-23T16:35:09Z WARN odbc::result] State: HY000, Native error: 63, Message: [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key Temporary (volatile) Ace DSN for process 0x2
224 Thread 0x53e4 DBC 0x51eb00b8 Jet'.
[2020-01-23T16:35:09Z WARN odbc::result] State: HY000, Native error: 63, Message: [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key Temporary (volatile) Ace DSN for process 0x2
224 Thread 0x53e4 DBC 0x51eb00b8 |
It's some db specific error from your driver, can't help here |
Thanks, may be this the issue, I'll check it in office next week. |
I'm connected to MS Access database using
julia
odbc as below:I'm using evcxr_jupyter
How can I do the same using Rust.
The text was updated successfully, but these errors were encountered: