10.07.2015 Views

Ingres 9.2 Migration Guide - Actian

Ingres 9.2 Migration Guide - Actian

Ingres 9.2 Migration Guide - Actian

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

How You Perform an Upgrade Using Unload/ReloadStart <strong>Ingres</strong>Run ingstart to start <strong>Ingres</strong>.Recreate Users, Groups, and RolesNote: This step is required only for a clean-installation upgrade.To recreate users, groups, and roles:1. As the installation owner, change directory to your iidbdb unloaddbdirectory where you stored the files from the step Save Users, Groups, andRoles of this upgrade procedure2. Run this SQL to recreate users and groups:sql '-u$ingres' iidbdbcopy iiusergroup(groupid=c0comma,groupmem=c0nl)from 'groups.out'\gocommit\go\read users.sqlcommit\go\quitWindows: Omit the quotes from the sql command line.The file users.sql may try to recreate some users that already exist in theinstallation, such as the installation owner and root user. This will cause“E_US18B6 The user 'name' already exists” errors. You can ignore theseerrors.3. If your original installation had roles defined, recreate them with the ADDROLE SQL statement. Use the file roles.out as a guide.Roles cannot be reliably bulk-loaded from the original installation, so youmust recreate them by hand. After you recreate each role, issue thefollowing SQL statement:grant rolename to user; commitThe most common user here is public. You can use the file rolegrants.outto determine what role grants are needed.70 <strong>Migration</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!