-
Notifications
You must be signed in to change notification settings - Fork 61
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
Firebird 2.1 on Windows #153
Comments
I don't have an environment where Firebird 2.1 works, so I can't try it. Maybe Firebird 2.1 does not work. If the database with a character set other than utf-8, please set the charset parameter. |
I got same result,here is my code: import (
) func main() { }go run simple.go
|
thanks,
Probably, the connection string should be as follows
or
|
conn, er := sql.Open("firebirdsql", "SYSDBA:masterkey@localhost:f:/monkey.fdb?charset=utf8"),this still not work, acturally "SYSDBA:masterkey@localhost:f:\monkey.fdb?charset=utf8" is what I used,but it show is "SYSDBA:masterkey@localhost:f:\monkey.fdb?charset=utf8", only one "", I don't know why. thanks for your reply, if you could install firebirdsql2.59, or higher version on your windows platform, and test it, then maybe better, support a platform is big deal. |
I used double "\\",but it always shows single "\" |
Oh, sorry. Try to follow the pattern of connection strings found at for example
or
|
thanks a lot,it works |
this works: |
thanks |
one more thing, I test firebird 3.0, it does not work:SQL> create database "f:\rain.fdb" page_size 8192 user 'SYSDBA' password 'masterkey'; RDB$RELATION_ID
===================================== import (
) func main() {
}./simple
|
"SYSDBA:masterkey@localhost/:f:\rain.fdb","\" is double,not single,so this not wrong |
I restart the system, and it works for firebird3.0:
|
We are using Firebird 2.1. Tell me how to read data from it on Go? Through your driver, it turns out to connect to the database and that's it, all requests come back with basically empty answers, although there is data in the database.
The text was updated successfully, but these errors were encountered: