If WireCrypt is disabled an attempt to attach with non-existing user returns isc_login_error instead of isc_login.
Use CONNECT or CREATE DATABASE to specify a database
SQL> connect localhost:atest user aaaa password 'bbb';
Statement failed, SQLSTATE = 08006
Error occurred during login, please check server firebird.log for details
SQL> connect localhost:atest user abc password 'bbb';
Statement failed, SQLSTATE = 28000
Your user name and password are not defined. Ask your database administrator to set up a Firebird login.
SQL> connect localhost:atest user abc password 'def';
Database: localhost:atest, User: ABC
If WireCrypt is disabled an attempt to attach with non-existing user returns isc_login_error instead of isc_login.
Two problems here: