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
Allow to connect to default path "host:default" [CORE4062] #4390
Comments
Modified by: PizzaProgram Ltd. (szakilaci)security: Developers [ 10012 ] => |
Commented by: @hvlad Why not use Service API ? |
Commented by: PizzaProgram Ltd. (szakilaci) On remote db? What do you mean? |
Commented by: PizzaProgram Ltd. (szakilaci) ... for example this would make life much easier for application developers: (especially for beginners) try // test version number, // test user (maybe SYSDBA should not be allowed for security reasons) // ... and NOW you can try to connect to the REAL database, and you'll know, if something wrong with that > the service, connection, engine version, etc must be fine ! |
Commented by: @dyemanov Please follow Vlad's advice and learn the documentation about Services API. It allows you to connect to the server rather than to the particular database. And you can ask for its version, etc. |
Commented by: PizzaProgram Ltd. (szakilaci) <OFF> 1. I've phoned several programmers using Firebird actively, but NOBODY knew about how to use Firebird Services APIs directly. 2. Asked on hungarian Firebird forum > took 1 week somebody gave me any answer: 4. Spent 3 days to learn more about Interbase ApiGuide.pdf (442 pages) 5. Told everyone about my idea, and ALL of them found it great and easy to use ;) So please consider my recommendation, how to make every programmers life easier and turn FB to an easy-to-start-and-test tool. Thank you for your time and attention. |
Commented by: PizzaProgram Ltd. (szakilaci) ... of course we can change the keyword "default" to something else too, like: "test_database". |
Modified by: @dyemanovVersion: 3.0 Alpha 1 [ 10331 ] => Version: 2.5.3 [ 10461 ] => Version: 2.1.6 [ 10460 ] => Version: 3.0 Beta 1 [ 10332 ] => Version: 3.0.0 [ 10048 ] => |
Submitted by: PizzaProgram Ltd. (szakilaci)
The idea is to check and set some things BEFORE trying to connect to a real database.
- testing if the service is running
- asking for client/server version
- load monitoring
- getting some default events, like: server_shutdown
- maybe testing/setting user accounts (have to think about security issues)
WHY?
- application developers could easily exclude/specify errors before connecting to corrupted database or check necessary version
- it would help a lot to change from prev. versions to new one.
- monitoring overall performance, connections
- getting notification of server shutdowns
... and more
The text was updated successfully, but these errors were encountered: