The following environment variables need to be set in order to use the CUBRID. The necessary environment variables are automatically set when the CUBRID system is installed or can be changed, as needed, by the user.
The above mentioned environment variables are set when the CUBRID is installed. However, the following commands can be used to verify the setting.
For Linux :
% printenv CUBRID
% printenv CUBRID_DATABASES
% printenv CUBRID_LANG
In Windows :
C:> set CUBRID
If the CUBRID system has been installed on Windows, then the installation program automatically sets the necessary environment variable. Select [Systems Properties] in [My Computer] and select the [Advanced] tab. Click the [Environment Variable] button and check the setting in the [System Variable]. The settings can be changed by clicking on the [Edit] button. See the Windows help for more information on how to change the environment variable on Windows.
If the CUBRID system has been installed on Linux, the installation program automatically creates the .cubrid.sh or .cubrid.csh file and makes configurations so that the files are automatically called from the installation account’s shell log-in script. The following is the .cubrid.sh environment variable setting file that was created in an environment that uses sh, bash, etc.
if [ "$ld_lib_path" = "" ]