Skip to content
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

Aliased database can't be created [CORE2351] #2774

Closed
firebird-automations opened this issue Mar 5, 2009 · 5 comments
Closed

Aliased database can't be created [CORE2351] #2774

firebird-automations opened this issue Mar 5, 2009 · 5 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @AlexPeshkoff

This was reported by Tsutomu Hayashi in fb-devel

With DatabaseAccess = None in firebird.conf, test = c:\database\test.fdb in aliases.conf and missing file c:\database\test.fdb, running in isql:
create database 'test';
throws an error:
Statement failed, SQLCODE = 28000
Access to database "C:\DATABASE\TEST.FDB" is denied by server administrator
-I/O error for file "test"
...... etc.

Commits: 19fa8a3

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

Head (2.5) is completely OK now. But additionally given fix makes it possible to create database using it's alias on old servers using 2.5 client. But, due to missing other features (only in 2.5 original alias is transfered over network), it may not always work when local protocol is used. Adding localhost: before database name (making it use TCP) can help in such cases.

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.5 Beta 1 [ 10251 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment