Informix Error -4538: No database name has been given.
Cause and resolution
No database name has been given.
The Application Builder attempted to execute an OPEN DATABASE command without specifying the name of the database. Check the "database=..." line in your informix.ini file. If you want to use the default database, set the line to "database=syspg4gl".
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-4538 fires when the Application Builder attempts to execute an OPEN DATABASE command
without a database name specified — per the official guidance, check the database=... line
in informix.ini.
- The
database=...line ininformix.iniis missing or empty, per the official guidance — the direct, named cause.
Solutions / Resolution
- Set the
database=...line ininformix.inito the intended database name, per the official guidance. - Use
database=syspg4glif the default database is wanted, per the official guidance.
Examples
informix.ini database line
database=syspg4gl
Diagnostic Checks
- Check the
database=...line ininformix.ini, and set it to the intended database name (orsyspg4glfor the default).
Related Errors / Related Topics
- -4536 — "Database open failed." A related Application Builder database-open error,
about a network/
DBPATH/host failure rather than a missing database name.
OPEN DATABASE was attempted with no database name given — set database=... in
informix.ini.