Getting Started with Postgres Plus (R) on Windows (R) A Postgres Evaluation Quick Tutorial From EnterpriseDB



Similar documents
How to Dump and Restore Postgres Plus (R) Databases Using pgadmin. A Postgres Evaluation Quick Tutorial From EnterpriseDB

How to Set Up pgagent for Postgres Plus. A Postgres Evaluation Quick Tutorial From EnterpriseDB

Intelli-M Access Quick Start Guide

MSSQL quick start guide

Windows Basics. Developed by: D. Cook

AdminToys Suite. Installation & Setup Guide

Supplement I.B: Installing and Configuring JDK 1.6

WA2262 Applied Data Science and Big Data Analytics Boot Camp for Business Analysts. Classroom Setup Guide. Web Age Solutions Inc.

BIGPOND ONLINE STORAGE USER GUIDE Issue August 2005

Shutting down / Rebooting Small Business Server 2003 Version 1.00

warpct.com Basic Computer Skills MS Windows XP Workbook courseware by WARP! Computer Training

StarWind iscsi SAN Software: Installing StarWind on Windows Server 2008 R2 Server Core

How to install FlexiCAD 3

Installing LearningBay Enterprise Part 2

BSDI Advanced Fitness & Wellness Software

User Guide Microsoft Exchange Remote Test Instructions

Richmond Systems. SupportDesk Quick Start Guide

After going through this lesson you would be able to:

SystemTools Software Inc. White Paper Series Hyena Installation Requirements

Richmond Systems. SupportDesk Web Interfaces - Quick Start Guide

STATISTICA VERSION 10 STATISTICA ENTERPRISE SERVER INSTALLATION INSTRUCTIONS

Most of your tasks in Windows XP will involve working with information

LifeKeeper for Linux PostgreSQL Recovery Kit. Technical Documentation

REMOTE DESKTOP SETUP INSTRUCTIONS

Introduction to Windows

Windows XP Pro: Basics 1

WINDOWS 64-BIT INSTALLATION NOTES ORACLE VIRTUALBOX Micro Planner X-Pert V3.5.1 Digital Download Edition

Web VTS Installation Guide. Copyright SiiTech Inc. All rights reserved.

Computer Science and Engineering Windows Cisco VPN Client Installation and Setup Guide

Installation Overview

Section 5 Icons and Shortcuts

Installing and Configuring PostgreSQL 8 on WinXP

STATISTICA VERSION 9 STATISTICA ENTERPRISE INSTALLATION INSTRUCTIONS FOR USE WITH TERMINAL SERVER

Setting Up and Using the Funambol Outlook Sync Client v8.0

Supplement I.B: Installing and Configuring JDK 1.6

Purpose The procedures below provide outlined steps for gaining access to the MSUE PFS (Protective Factors Survey) database.

File Manager Pro User Guide. Version 3.0

Personal Virtual Server (PVS) Quick Start Guide

EventTracker: Support to Non English Systems

Installing T-HUB on multiple computers

HP External Hard Disk Drive Backup Solution by Seagate User Guide. November 2004 (First Edition) Part Number

Level 3 SM Connect Outlook Add-In User Guide Level 3 Communications, Inc. All rights reserved.

Scan to PC Desktop: Image Retriever 5.2 for Xerox WorkCentre C2424

LexisNexis CaseMap-WorkSite Plug-In ReadMe

Making a system recovery disc

StarWind iscsi SAN Software: Using StarWind with MS Cluster on Windows Server 2008

MONAHRQ Installation Permissions Guide. Version 2.0.4

EMBnet Norway User introduction pack (instructions and services overview) George Magklaras Head Systems Engineer Version 3.

SmartDraw Installation Guide

Connecting to Remote Desktop Windows Users

How to configure the DBxtra Report Web Service on IIS (Internet Information Server)

Resolving USB Driver Problems

Setting Up ALERE with Client/Server Data

ilaw Installation Procedure

NovaBACKUP xsp Version 12.2 Upgrade Guide

Deploying BitDefender Client Security and BitDefender Windows Server Solutions

Netwatch Installation For Windows

Scheduler for Outlook User s Guide

SELF SERVICE RESET PASSWORD MANAGEMENT BACKUP GUIDE

SOS Suite Installation Guide

Sendspace Wizard Desktop Tool Step-By-Step Guide

1. Installation Overview

Install Guide for Windows Office Professional Plus 2010

Joining an XP workstation to a domain Version 1.00

Microsoft SQL Database

Setting Up and Using the Funambol Outlook Plug-in v7

Tool Tip. SyAM Management Utilities and Non-Admin Domain Users

Acronis Backup & Recovery 10 Server for Windows. Workstation. Quick Start Guide

Windows 10. What is Windows 10? How to Get Windows 10?

Acronis Backup & Recovery 11

SPECIALIST PRACTICE MANAGER

Windows XP Managing Your Files

SystemTools Software Inc. Hyena Installation Guide

Patching the Windows 2000 Server Operating System on S8100 Media Servers, IP600 Communications Servers, & DEFNITY ONE Communications Systems

Implementing Unicenter Desktop and Server Management (DSM) r11.1 with Microsoft SQL Server Clusters

How to Copy Photos to a CD Using Microsoft Windows XP or Microsoft Windows Vista

State of Michigan Data Exchange Gateway. Web-Interface Users Guide

BSDI Advanced Fitness & Wellness Software

How to install and use the File Sharing Outlook Plugin

Tutorial: How to Use SQL Server Management Studio from Home

OPTION 1 Instructions - Recommended when sending to the logged on user account

Yale Software Library

To begin, visit this URL:

Deploying BitDefender Client Security and BitDefender Windows Server Solutions

IceWarp Unified Communications. Installation Guide. Version 10.4

Getting Started with VMware Fusion

SAS 9.3 Foundation for Microsoft Windows

Hands-On Lab: WSUS. Lab Manual Expediting WSUS Service for XP Embedded OS

Getting Started with Command Prompts

VPS Remote Computing. Connecting to a Windows Server for the first time. 1 Your Server has been installed. 2 Finding the login details for your Server

Microsoft SQL Server 2008 R2 Express Edition with Advanced Services Installation Guide

TECHNICAL NOTE. The following information is provided as a service to our users, customers, and distributors.

Microsoft SQLServer Restore / Redirected Restore Procedure

Configuration for Professional Client Access

Horizons Manufacturing Suite for Select/ Professional 7.0. Database Migration Instructions

How to Install and Setup IIS Server

VPS Hosting. The Guide to Bet Angel VPS. Getting started with Bet Angel VPS. Revised August Page 1

Installation and Program Essentials

Virtual Office Remote Installation Guide

Important Notes for WinConnect Server ES Software Installation:

Transcription:

Getting Started with Postgres Plus (R) on Windows (R) A Postgres Evaluation Quick Tutorial From EnterpriseDB November 6, 2009 EnterpriseDB Corporation, 235 Littleton Road, Westford, MA 01866, USA T +1 978 589 5700 F +1 978 589 5701 E info@enterprisedb.com www.enterprisedb.com Copyright 2009 EnterpriseDB Corporation. All rights reserved. 1

Introduction This tutorial covers the basics of starting and stopping the database server, checking the server's status, using the pgadmin GUI administrator's / devloper's tool, and accessing the SQL command line console. This EnterpriseDB Quick Tutorial helps you get started with the Postgres Plus Standard Server or Postgres Plus Advanced Server database products in a Microsoft Windows environment. It is assumed that you have already downloaded and installed Postgres Plus Standard Server or Postgres Plus Advanced Server on your desktop or laptop computer. This Quick Tutorial is designed to help you expedite your Technical Evaluation of Postgres Plus Standard Server or Postgres Plus Advanced Server. For more informational assets on conducting your evaluation of Postgres Plus, visit the self-service web site, Postgres Plus Open Source Adoption. In this Quick Tutorial you will learn how to do the following: Start up the Postgres Plus database Determine whether or not the Postgres Plus database server is running Start up the pgadmin III database administration console Start up the SQL command line terminal Shut down the Postgres Plus database Feature Description These steps will familiarize you with the basic start up and shut down operations of Postgres Plus so you can get the database server running with minimal difficulty. You will then be able to begin building a database and an application for a Technical Evaluation. The simplest method to start and stop the Postgres Plus database server is by using the Start Server and Stop Server menu options on the Postgres Plus menu that is created when you installed Postgres Plus on your Windows desktop or laptop computer. Similarly, the tools to build a database application can be started from the Postgres Plus menu. Note: If you are using Postgres Plus Advanced Server, the names of certain menu options and programs may differ slightly than from what is described herein for Postgres Plus Standard Server. However, the described functionality works the same in both Postgres Plus products. Copyright 2009 EnterpriseDB Corporation. All rights reserved. 2

Starting the Database Server The following steps describe how to start the Postgres Plus database server. Step 1: Log onto your computer using a computer administrator account. (The administrator privilege is required to start the database server.) Step 2: On the Windows taskbar located at the bottom of the screen, click the Start button. Choose All Programs and then choose Postgres Plus Standard Server or Postgres Plus Advanced Server, whichever is installed on your computer. On the Postgres Plus submenu, select Start Server so it is highlighted. The following screen capture shows the Start Server option on the Postgres Plus Standard Server submenu in Windows XP. Copyright 2009 EnterpriseDB Corporation. All rights reserved. 3

If you are using Windows Vista with User Account Control, do not click on Start Server, yet (go to Step 3). Otherwise, click Start Server to open the Start Server window and go to Step 4. Step 3: (For Windows Vista with User Account Control only): Click the right mouse button on Start Server. On the Start Server submenu, click the left mouse button on Run as Administrator, and then click Continue in the User Account Control pop-up window. The Start Server window appears. Go on to Step 4. Step 4: In the Start Server window, you should see the following message if the database server started successfully. Copyright 2009 EnterpriseDB Corporation. All rights reserved. 4

Step 5: Press the Enter key in response to the message, Press <return> to continue. Determining the Database Server Status To determine if the database server is running, run the pg_ctl utility program from the Command Prompt window. Step 1: Log onto your computer using a computer administrator account. Note: If you do not use a computer administrator account, the pg_ctl program always returns the status message, pg_ctl: no server running, regardless of whether or not the database server is actually running. Step 2: On the Windows taskbar located at the bottom of the screen, click the Start button. Choose All Programs and then choose Accessories. On the Accessories submenu, select Command Prompt so it is highlighted. The following screen capture shows the Command Prompt option on the Accessories submenu in Windows XP. Copyright 2009 EnterpriseDB Corporation. All rights reserved. 5

If you are using Windows Vista with User Account Control, do not click on Command Prompt, yet (go to Step 3). Otherwise, click Command Prompt to open the Command Prompt window and go to Step 4. Step 3: (For Windows Vista with User Account Control only): Click the right mouse button on Command Prompt. On the Command Prompt submenu, click the left mouse button on Run as Administrator, and then click Continue in the User Account Control pop-up window. The Command Prompt window appears. Go on to Step 4. Copyright 2009 EnterpriseDB Corporation. All rights reserved. 6

Step 4: At the Command Prompt, use the cd command to make your Postgres Plus bin directory your current working directory. Note: If you are using Postgres Plus Advanced Server, use the cd command to make dbserver\bin your current working directory. Copyright 2009 EnterpriseDB Corporation. All rights reserved. 7

Step 5: Run the pg_ctl program with the status option and the location of your Postgres Plus data directory. Note: Double quotes are required around the data directory as the path name contains embedded spaces. Copyright 2009 EnterpriseDB Corporation. All rights reserved. 8

The status message displayed by the pg_ctl program indicates that the database server is running. Starting the pgadmin III Database Administration Console The following steps describe how to start the pgadmin III database administration console. Step 1: Log onto your computer using either a standard account or a computer administrator account. Step 2: On the Windows taskbar located at the bottom of the screen, click the Start button. Choose All Programs and then choose Postgres Plus Standard Server or Postgres Plus Advanced Server, whichever is installed on your computer. The following screen capture shows the pgadmin III option on the Postgres Plus Standard Server submenu in Windows XP. Copyright 2009 EnterpriseDB Corporation. All rights reserved. 9

Note: If you are using Postgres Plus Advanced Server, the pgadmin III menu option is called Postgres Studio. Step 3: Click pgadmin III on the Postgres Plus submenu. The pgadmin III program opens. Copyright 2009 EnterpriseDB Corporation. All rights reserved. 10

Note: See Postgres Studio (pgadmin) on the Postgres Plus documentation web page for instructions on using pgadmin III. Starting the SQL Command Line Terminal The following steps describe how to start the SQL command line terminal. If you are using Postgres Plus Standard Server, this program is called psql. If you are using Postgres Plus Advanced Server, this program is called edb-psql. Step 1: Log onto your computer using either a standard account or a computer administrator account. Step 2: On the Windows taskbar located at the bottom of the screen, click the Start button. Choose All Programs and then choose Postgres Plus Standard Server or Postgres Plus Advanced Server, whichever is installed on your computer. The following screen capture shows the SQL command line terminal option, called SQL Shell (psql), on the Postgres Plus Standard Server submenu in Windows XP. Copyright 2009 EnterpriseDB Corporation. All rights reserved. 11

Note: If you are using Postgres Plus Advanced Server, the submenu option is called Run SQL Command Line. Click Run SQL Command Line to open another submenu with the choices EDB Plus and EDB-PSQL. Select EDB-PSQL. Step 3: Click SQL Shell (psql) or EDB-PSQL. The SQL command line terminal opens. Copyright 2009 EnterpriseDB Corporation. All rights reserved. 12

Step 4: Enter the information for the successive prompts or accept the defaults as appropriate. Note: See psql in Chapter PostgreSQL Client Applications under VI. Reference of the PostgreSQL Core Documentation found on the Postgres Plus documentation web page for instructions on using the SQL command line terminal. Copyright 2009 EnterpriseDB Corporation. All rights reserved. 13

Stopping the Database Server The following steps describe how to stop the Postgres Plus database server. Step 1: Log onto your computer using a computer administrator account. (The administrator privilege is required to stop the database server.) Step 2: On the Windows taskbar located at the bottom of the screen, click the Start button. Choose All Programs and then choose Postgres Plus Standard Server or Postgres Plus Advanced Server, whichever is installed on your computer. On the Postgres Plus submenu, select Stop Server so it is highlighted. The following screen capture shows the Stop Server option on the Postgres Plus Standard Server submenu in Windows XP. Copyright 2009 EnterpriseDB Corporation. All rights reserved. 14

If you are using Windows Vista with User Account Control, do not click on Stop Server, yet (go to Step 3). Otherwise, click Stop Server to open the Stop Server window and go to Step 4. Step 3: (For Windows Vista with User Account Control only): Click the right mouse button on Stop Server. On the Stop Server submenu, click the left mouse button on Run as Administrator, and then click Continue in the User Account Control pop-up window. The Stop Server window appears. Go on to Step 4. Step 4: In the Stop Server window, you should see the following message if the database server stopped successfully. Copyright 2009 EnterpriseDB Corporation. All rights reserved. 15

Note: If you are using Postgres Plus Advanced Server, you are asked to confirm the shutdown operation by entering Y. Enter Y and press the Enter key. Step 5: Press the Enter key in response to the message, Press <return> to continue. Conclusion In this Quick Tutorial you learned how to perform the basic operations of starting, stopping, and obtaining the status of the Postgres Plus database on a Windows system. You have also learned how to start up the basic administration and development tools for creating a database application. You should now be able to proceed with a Technical Evaluation of Postgres Plus. The following resources should help you move on with this step: Postgres Plus Technical Evaluation G uide Postgres Plus Getting S tarted resources Postgres Plus T utorials Postgres Plus User Forums Postgres Plus D ocumentation Postgres Plus W ebinars Copyright 2009 EnterpriseDB Corporation. All rights reserved. 16