<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <link href="chrome://translator/skin/floatingPanel.css"
      type="text/css" rel="stylesheet">
  </head>
  <body bgcolor="#FFFFFF" text="#000099">
    <div class="moz-cite-prefix">If you go to the mapset directory
      itself, check the file 'VAR' (it is just a plain text file). Are
      the database path and name defined correctly  in that file?<br>
      <br>
      Rgds,<br>
      <br>
      Paulo<br>
      <br>
      <br>
      On 07/13/2012 04:12 PM, Johannes Radinger wrote:<br>
    </div>
    <blockquote cite="mid:20120713141205.252570@gmx.net" type="cite">
      <pre wrap="">Hi,

I just had to move some locations from one machine to another machine.
I was able to open the locations on the new computer (GRASS 6.4.3 and Ubuntu) and then I realized that I somehow set the database connection to a hardcoded directory on the old computer. Thus I just used db.connect to set a new link (sqlite) to: '$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite.db'. But somehow that doesn't work. 
I tried to use db.test (with test1) but it says that its not possible to open the database, although it is existing. I tried to see the attribute table in WXGUI but then all windows get closed (GRASS crash)...It seems that somehow the database can be connected properly after the move to the new machine...

any suggestions?

What Is the best way to reset the database without destroying it...?

/Johannes
_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a>
</pre>
    </blockquote>
    <br>
    <br>
    <div style="bottom: auto; left: 497px; right: auto; top: 122px;"
      class="translator-theme-default" id="translator-floating-panel">
      <div title="Click to translate"
        id="translator-floating-panel-button"></div>
    </div>
  </body>
</html>