You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ISQL: presence of credentials ('-user SYSDBA -pas masterkey') causes "Different logins in connect and attach packets - client library error" if new DB is created by privileged user
#8385
Open
pavel-zotov opened this issue
Jan 13, 2025
· 0 comments
set echo on;
set bail on;
shell if exist C:\temp\tmp4test.fdb del C:\temp\tmp4test.fdb;
show version;
create or alter user tmp_boss password '123';
commit;
grant create database to user tmp_boss;
show users;
commit;
create database 'localhost:C:\temp\tmp4test.fdb' user tmp_boss password '123';
drop database;
quit;
Run it: C:\FB\60SS\isql /:employee -i C:\FBTESTING\qa\firebird-qa\tests\bugs\tmp1.sql -user sysdba -pas masterkey
Output since 6.0.0.570 will be:
set bail on;
shell if exist C:\temp\tmp4test.fdb del C:\temp\tmp4test.fdb;
show version;
ISQL Version: WI-T6.0.0.570 Firebird 6.0 Initial
Server version:
Firebird/Windows/AMD/Intel/x64 (access method), version "WI-T6.0.0.570 Firebird 6.0 Initial"
Firebird/Windows/AMD/Intel/x64 (remote server), version "WI-T6.0.0.570 Firebird 6.0 Initial/tcp (PZ)/P19:C"
Firebird/Windows/AMD/Intel/x64 (remote interface), version "WI-T6.0.0.570 Firebird 6.0 Initial/tcp (PZ)/P19:C"
on disk structure version 14.0
create or alter user tmp_boss password '123';
commit;
grant create database to user tmp_boss;
show users;
Users in the database
2 #SYSDBA
0 TMP_BOSS
commit;
create database 'localhost:C:\temp\tmp4test.fdb' user tmp_boss password '123';
Statement failed, SQLSTATE = 28000
Your user name and password are not defined. Ask your database administrator to set up a Firebird login.
-Different logins in connect and attach packets - client library error
Builds 5.x and up to 6.0.0.565 complete normally:
create or alter user tmp_boss password '123';
commit;
grant create database to user tmp_boss;
show users;
Users in the database
2 #SYSDBA
0 TMP_BOSS
commit;
create database 'localhost:C:\temp\tmp4test.fdb' user tmp_boss password '123';
drop database;
quit;
The text was updated successfully, but these errors were encountered:
mrotteveel
changed the title
ISQL: presense of credentials ('-user SYSDBA -pas masterkey') causes "Different logins in connect and attach packets - client library error" if anew DB is created by privileged user
ISQL: presence of credentials ('-user SYSDBA -pas masterkey') causes "Different logins in connect and attach packets - client library error" if new DB is created by privileged user
Jan 13, 2025
pavel-zotov
added a commit
to FirebirdSQL/firebird-qa
that referenced
this issue
Jan 13, 2025
Consider following script:
Run it:
C:\FB\60SS\isql /:employee -i C:\FBTESTING\qa\firebird-qa\tests\bugs\tmp1.sql -user sysdba -pas masterkey
Output since 6.0.0.570 will be:
Builds 5.x and up to 6.0.0.565 complete normally:
The text was updated successfully, but these errors were encountered: