N Ngọc Trâm New member Jan 12, 2022 #1 How check DB2 connection in Linux? Answer To test the connection: Run the DB2 command line utility db2. At the db2 prompt, enter the following: db2 => connect to sample1 user username using password db2 => select * from employee db2 => terminate.
How check DB2 connection in Linux? Answer To test the connection: Run the DB2 command line utility db2. At the db2 prompt, enter the following: db2 => connect to sample1 user username using password db2 => select * from employee db2 => terminate.