-
Notifications
You must be signed in to change notification settings - Fork 47
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
django-firebird 1.7 not working with firebird 2.5.1 and django 1.7 for non-default firebird port. #62
Comments
When I use firebird database as second database (first is sqlite) and connect with this code:
I get:
I also get the same when I use firebird database as default database and execute Then I tried to use fdb alone (same fdb install on same virtualenv and inside same django view):
And it worked, I connected to database successfully. So the question is - why django-firebird can't connect? It uses the same fdb driver. |
Hi rivf, -902 335544721 is a network_error Please try: |
not working, but exactly the same error (last time it was produced not by fdb, but by django-firebird):
but this works fine: Any ideas? Btw, I can't change port to default in this particular case. |
I've solved the problem.
Above code is not working
Works! So you should fix your manual, add something about host/port setting. |
With a settings like this:
Try this from a shell (./manage.py shell)
It must returns, for example something like Now,
It should work too. |
With your example database code
returns:
returns: And it works for this non default port. What you suggest is not working. Please try to use your backend with non-default port. I think it's bug. So again: when I use
Also I need to add that the database is 2.5.1, not 2.5.2, but I don't think it's important. |
Hi!
I'm using the following setup (all installed with pip install):
Django (1.7.11)
django-firebird (1.7)
fdb (1.6)
I connect to firebird database with gui razorsql and I connect successfully with this line:
jdbc:firebirdsql://test.testdomain.com:18006/DBtest
(I changed a bit domain and port, and of course there are also user/password)I have clean django project created by django 1.7.11 with this modification:
(of course with right user and password)
When I launch server (python manage.py runserver) nothing happens.
when I launch it with deafult sqlite generated settings:
default launching happens:
So smth is wrong with firebird database setup. But what? Maybe I should use different combination of versions?
The text was updated successfully, but these errors were encountered: