Informix Error -26712: The default user was not created because it already exists.
Cause and resolution
The default user was not created because it already exists.
If you want to change the properties of the default user, you can use the ALTER DEFAULT USER statement. Alternatively, you can run the DROP DEFAULT USER statement and then rerun the CREATE DEFAULT USER statement with different properties.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26712 fires when CREATE DEFAULT USER is run but a default user already exists — per
the official guidance.
- A default user is already defined, per the official guidance — the direct, only cause.
Solutions / Resolution
- Use
ALTER DEFAULT USERto change its properties, per the official guidance, or DROP DEFAULT USERthen rerunCREATE DEFAULT USERwith different properties, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond creating an already-existing default user.
Diagnostic Checks
- Check whether a default user already exists, and use
ALTER DEFAULT USER, orDROPfirst if a fresh create is genuinely intended.
Related Errors / Related Topics
- -26701 — "User (
) was not created because it already exists." The same class of already-exists error, for a named user rather than the default user. - -26711 — "The default user was not found." The mirror-image error, on the default user not being found rather than already existing.
CREATE DEFAULT USER was run, but a default user already exists — use ALTER DEFAULT USER, or DROP first.