• 1 reply
  • Latest Post - ‏2014-06-12T06:10:51Z by Sreeharsha_Naik
1 Post

Pinned topic Unable to create sample database

‏2014-01-08T03:47:21Z |

When I create sample database. It shows the following error message:

Creating database "SAMPLE" on path "C:"...

Attempt to create the database "SAMPLE" failed

'db2sampl' processing complete.

When I create the sample database manually using the following command:

db2 drop db sample

The following error message shows:

SQL1031N The database directory cannot be found on the indicated file system SQLSTATE-58031


Any help will be appriciated. Thanks.


  • Sreeharsha_Naik
    34 Posts

    Re: Unable to create sample database


    try a simple one : create db temp , drop db temp and see if this works .. if it does not, issue terminate , stop dbm , start dbm and try again