Gen. Reference: IBConsole
IBConsole is the user interface to the InterBase©
6 Relational Database Management System associated with Bundle-Track
versions 3.6 and later.
Starting IBConsole
- From the Windows
Menu, open the Programs list.
- From the Programs list, open the "InterBase 6" Program
Group. (The name may be longer).
- Select IBConsole.
If your Programs list does not include InterBase 6, you will need
to locate the file manually:
- On your Windows Desktop, double-click My Computer.
- Navigate through the files to C:\Program Files\Borland\InterBase\Bin\
- In that directory, you will find IBConsole.exe.
- If your system may hide all '.exe' extensions, then choose
the file that appears to be named simply 'IBConsole'.
- Optional: make a shortcut to this file for easier access in
the future.
Return Links:
- Database Maintenance
- General Reference
- User Management
Exiting IBConsole
- Use the menu to select Console >> Exit.
Logging
into a Server
- Confirm that IBConsole is running.
- Locate your Server in the left window of IBConsole, below the
'InterBase Servers' icon:
- If you are working on the machine on which the database
file resides, the server you want is called 'Local Server.'
If this is not listed, register it
- If the database file resides on another machine, the server
you want is a Remote Server. If that server is not listed,
register it.
- If the server is disconnected (
)
,double-click the server icon to connect it.
- If a dialog displays 'The server has not been started. Would
you like to start it now?', click YES.
- At the login prompt, enter a valid User Name and Password.
- If a dialog displays "Error logging into the requested
server," confirm that your keyboard's Caps Lock function
is not engaged (as well as Num Lock, if that would affect
password keys), confirm that the InterBase
Server is Running, and try again.
Return Links:
- Database Maintenance
- General Reference
- User Management
Registering a Server
- Confirm that IBConsole is running.
- Use the menu to select Server >> Register.
- Consider where the database resides:
- If the database resides on this machine, then select Local
Server.
- If the database resides on another machine, select Remote
server, then specify the Server Name (as the network sees
it) and the Network Protocol (which should be TCP/IP).
- At the bottom of the panel, input the Administrator
Login.
Return Links:
- Database Maintenance
- Installing
- Reinstalling
- Relocating
Administrator Login UserName and Password
Some functions may be performed only by the Administrator Login.
The Administrator UserName is 'sysdba'. Upon installation, the Administrator
Password is 'masterke.' Note that this password can be (and may
have been) changed by your system administrator.
Connecting to a Database
- If IBConsole is running and you are logged
into the server, you should see the database listed under
the server.
- Look at the icon next to the database name:
means you are already connected.
means you are not connected. Double-click the database name
to connect.
Return Links:
Disconnecting from a Database
You are already disconnected if any of the following are true:
- IBConsole is not yet running.
- There is a red X on the server icon (
).
- There is a red X on the database icon (
).
Otherwise, disconnect as follows:
- Click once on the database you wish to disconnect.
- Double-click 'Disconnect' in the right-hand window.
Return Links: Backup
and Restore, Error 335544510 in IB Console.
Registering a Database
Confirm
that IBConsole is running.
- Confirm that you are logged into the server.
- Click once on the server to select it.
- From the Database menu, select Register.
- This will open the 'Register Database and Connect' window.
- Set the Database fields (note that the field labels are below
their fields):
- File:
- Specify the full path to the database file.
- If registering under the Local Server, click the
'…' button to open the file selector, then locate
and select the database file.
- The default location for BT30600PROD.gdb is
'C:\Program Files\Bundle-Track\Databases\BT30600PROD.gdb'.
- If registering under a Remote Server, type the local
path to the file (not the network path).
- For example, if the file is at 'SERVER:C:\Program
Files\Bundle-Track\Databases\BT30600PROD.gdb' then
input 'c:\Program Files\Bundle-Track\Databases\BT30600PROD.gdb'
into the File field (even if that directory is shared
under a different name like '\\ServerName\SharedName\').
- Alias:
- (This should fill in by itself.)
- Set the Login Information fields:
- In User Name and Password, set the database's administrator
login.
- Leave Role and Default Character Set blank.
- Click OK.
Return Links:
- Database Maintenance
- General Reference
- Installing
- Reinstalling
- Relocating
Validating a Database
- Confirm that IBConsole is running.
- Confirm that you are logged into the server.
- Under the server, locate the database you wish to validate.
- Confirm that the database is disconnected
(has a red X on the icon).
- Click once on the database to select it, then double-click 'Validate'
in the right-hand window.
- Set the 'Read Only Validation' option to True. (Click the box
to change the value.)
- Click OK to begin Validation.
- If no database errors are detected, click OK.
- If database errors are detected, click Repair, then let
the Validation process finish, and then repeat the Validation
process. When you get a Validation with no errors, run a Backup
and Restore.
Checking for Users Connected to a Database
- Confirm that IBConsole is running.
- Confirm that you are logged into the server.
- Confirm that the database is connected
(has a green check on its icon).
- Use the menu to select Database >> Connected Users.
Return Links: Shutting Down a Database.
Shutting Down a Database
- Instruct all Bundle-Track users to exit Bundle-Track and inform
them that the database will be down for maintenance.
- Confirm that IBConsole is running.
- Confirm that you are logged into the server
under the Administrator Login.
- Confirm that the database is currently connected
(has a green check on its icon) and selected.
- Verify that the only user connected to
the database is 'sysdba'. If others are connected, direct
them to exit. (Otherwise, those users will encounter errors like
this and this.)
- Double-click 'Shutdown' in the right-hand window.
- Set the 'Shutdown' option to 'Force shutdown after timeout.'
- Set the 'Shutdown Timeout' value to one (1) minute.
- Click OK and await shutdown confirmation.
Return Links:
Restarting a Database
- Confirm that IBConsole is running.
- Confirm that you are logged into the server
under the Administrator Login.
- Confirm that the database is currently connected
(has a green check on its icon) and selected.
- Use the menu to select Database >> Maintenance >>
Database Restart.
- Click OK and await Restart confirmation.
- If you are unable to restart the database, you may be experiencing
a database deadlock. Follow this procedure to clear it: Validate
a Database.
Return Links:
Creating a Database Backup File
See Making a Backup File (.GBK)
Restoring a Database from Backup
See DB Maintenance: Restore.
Accessing InteractiveSQL (ISQL)
- Confirm that IBConsole is running.
- Confirm that you are logged into the server.
- Confirm that the database is currently connected
(has a green check on its icon) and selected.
- Click on the SQL icon or use the menu to select Tools >>
Interactive SQL...
Return Links:
Loading a Script (.SQL) file into ISQL
- Save the script (.sql) file to a location you can browse to
from IB Console.
- Confirm that ISQL is running.
- Use the menu to select Query >> Load Script
- Use the Open dialog to locate and open the file containing the
script.
Return Links:
Running/Executing a Query/Script/Statement/Command
in IB Console's ISQL
- Open IB Console.
- Connect to the database.
- Open ISQL.
- Into the upper portion of the Interactive SQL screen, type or
paste a script/query/statement/command, or load
a script file.
- Execute by any one of the following means:
- Click the lightning bolt icon.
- Press Ctrl + E.
- Use the menu to select Query >> Execute.
Return links:
Browsing Executed Queries in ISQL
Any of the following methods will move you through the queries you
have executed in your current ISQL session. You can then re-execute
them as they are, or modify them.
- Click the Arrow icons.
- Select Previous or Next from the Query menu.
- Press Ctrl + P or Ctrl + N
Once you close the ISQL panel, the history is lost.
Creating New Users
Add a user in InterBase as follows:
- Confirm that IBConsole is running.
- Confirm that you are logged into the server.
- Under the Server, click Users.
- In the right-hand window, right-click on any user name, then
click 'Add User ...'
- Fill in the Required Information.
- Click Apply.
- Click Close.
Return Links: Adding a Bundle-Track
User.
We welcome your comments at support@bundle-track.com.
If you would like our live assistance, you may hire us at our professional
services rate.