but i am not able to get the right username and password to import data. How do I know what the username password is? By default I see tomcat6 as database and username and no password in the textbox. As i am following the tutorial I changed it to username: postgis and password: postgres.

How do I know what my username and password is?

EDIT

Import the data in PostGIS, which requires PostGIS connection.

UPDATE

Ok so i got the user and passwd but when I am trying to add the shapefile using the Shape File to PostGIS Importer Plugin and having made connection successfully, I am getting this error when I am adding the shapefile.

3 Answers
3

When you first start the dashboard, it provides a reminder about the
default password for accessing GeoServer [....] {followed by the image}

Otherwise, just above step 1 it says:

Note

The PostGIS database has been installed with unrestricted access for
local users (users connecting from the same machine as the database is
running). That means that it will accept any password you provide. If
you need to connect from a remote computer, the password for the
postgres user has been set to postgres.

Actually i am working on Ubuntu and u need to create the user and assign password from the terminal and then start working on the PostGIS which does not open as shown in your instructions (which is only for Windows), we need to run pgadmin3 which open the PostGIS and then by entering the newly configured user and password can we create the database. Appreciate your help.
–
Sam007May 17 '12 at 23:30