Issue Details (XML | Word | Printable)

Key: CORE-2351
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Alexander Peshkov
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
Firebird Core

Aliased database can't be created

Created: 05/Mar/09 08:29 AM   Updated: 19/Jan/16 04:45 AM
Component/s: None
Affects Version/s: 2.1.0, 2.5 Alpha 1, 2.1.1, 2.1.2
Fix Version/s: 2.5 Beta 1

QA Status: No test

 Description  « Hide
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.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Alexander Peshkov added a comment - 05/Mar/09 10:25 AM
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.