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

CREATE DATABASE fail with ISQL [CORE4864] #5160

Closed
firebird-automations opened this issue Jul 7, 2015 · 6 comments
Closed

CREATE DATABASE fail with ISQL [CORE4864] #5160

firebird-automations opened this issue Jul 7, 2015 · 6 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Gabor Boros (gaborboros)

Relate to CORE4811

The database alias is already exists in databases.conf:
MYDB = /home/DB/MYDB.FDB
{
SecurityDatabase = MYDB
}

Start ISQL, "isql -u SYSDBA employee" then execute:

CREATE DATABASE 'MYDB' PAGE_SIZE 4096 DEFAULT CHARACTER SET WIN1250 COLLATION PXW_HUN;

Committing.
Statement failed, SQLSTATE = 42000
Dynamic SQL Error
-SQL error code = -104
-Token unknown - line 1, column 33
-SYSDBA

The above CREATE... command works with Beta 1 and a shorter CREATE DATABASE 'MYDB' PAGE_SIZE 4096; works with Beta2.

Commits: 391e28c FirebirdSQL/fbt-repository@34c3231

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

Link: This issue relate to CORE4811 [ CORE4811 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

As a temp workaround ypu may use the following form:
CREATE DATABASE 'MYDB' USER 'SYSDBA' PAGE_SIZE 4096 DEFAULT CHARACTER SET WIN1250 COLLATION PXW_HUN;

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

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

resolution: Fixed [ 1 ]

Fix Version: 3.0 RC 1 [ 10584 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: No test => Done successfully

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

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

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

No branches or pull requests

2 participants