Create/delete a PostgreSQL database.Method 1-system commandsSudo su-postgres # Switch to postgres user (system user)Createdb weichen # create a databasePsql # access the database directly (access to the local ipvs database by default)\ L -- view the
Install POSTGRESQL on FREEBSD, freebsdpostgresql
It took a long time to reinitialize it many times.
During installation, run the command pkg search postgresql. Select the latest 9.4 to install the server, and the client will be installed together.
Install the open source database PostgreSQL 9.4 and phpPgAdmin on UbuntuIntroduction
PostgreSQL is a powerful, open-source, and Object-based relational database system. It supports all mainstream operating systems, including Linux, Unix (AIX, BSD,
First, go to the PostgreSQL official website to download the latest version. The author uses Linux x86_64 source code to compile the installation package: postgresql-9.0.1.tar.bz2.The installation process is as follows:-----------------------------
After installing the OOracle software on the Linux platform, you do not need to use dbca to create a database, but manually create a database. The main purpose is to understand the operations performed during database creation. 1. First set the SID
Step 1: su ipvs
Step 2: bash-4.2 $/usr/pgsql-9.1/bin/initdb-D/var/lib/pgsql/9.1/data/, press enter and the following message appearsThe files belonging to this database system will be owned by user "stored s ".
This user must also own the server
Detailed steps for installing the Postgresql database in Ubuntu: ubuntupostgresql
Introduction
As we all know, PostgreSQL is a free object-relational database server (Database Management System). It is very easy to install Postgresql In ubuntu. I
PostgreSQL usage notes (my company uses arterydb, sub-installed postgreSQL), postgresqlarterydb-- Start the database./Bin/aty_ctl-D data-l arterydb. log start-- Connect to the database./Bin/atysql-d artery-- Set Environment VariablesExport
Mongodb installation and simple useMongodb installation and simple use
First install mongodb
1.: http://www.mongodb.org/downloads
2. decompress the package to the directory you want to install, such as d: \ mongodb.
3. Configure the environment
Super User: similar to SA, root, sysdba of other systems
The name of the first superuser created during initdb.exe Initialization is the same as the OS account used for executing initdb.exe.
Oid of the first superuser = 10
Superuser is not
Summary: MySQL database has excellent performance as a network database, but it is rarely used in application software. This article will mainly discuss the application of two database interfaces (odbc api and c api) provided by MySQL in VC, and
ArticleDirectory
The SQLite library contains a command line named sqlite3, which allows you to manually enter and execute SQL commands for the SQLite database. This document provides a brief description of sqlite3.
The SQLite library
① Configure listener. ora
Reference document b14213 (net service reference)Example of static registration on page 1The first section of page 139th
Case:
think = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS=(PROTOCOL = tcp)(HOST= 192.168.227.128)
By hzhwang on July 1, 2007 Pm | permalink | comments (0) | trackbacks, almost all the strange things happened to me. The last thought is that the mail-archive of openca is really good. The following server guard does not necessarily work as you do,
First, use superuser to connect to the database
By default, the Super User is set to ipvs.
The connection script command is Psql. This is in the bin directory of the installation directory.
/Bin $ Psql
Postgres -#
Create a user. Create a
The base class is an operating system class.
Code
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> Package OS; Require Exporter; @ Isa = QW (exporter ); @ Export = QW (temp
1. sqlite3: a command line interface of the SQLite Database
Address: http://www.sqlite.org/sqlite.html
The SQLite library contains a command line named sqlite3, which allows you to manually enter and execute SQL commands for the SQLite database.
Openerp data backup and recoveryBack up the entire database: switch to the Database User: sudo su-postgresBackup Data: pg_dump testdb> testdb. outRecover the database using the backup file: switch to the Database User: sudo su-postgresStop openerp:
MediaWiki installation under WindowsFor friends who have just contacted the wiki, configuring a server environment, installing and running MediaWiki is a very troublesome thing, here, I try to use the easy-to-understand language, the installation
This article assumes that the reader has downloaded and decompressed PostgreSQL9.1 and pgAdmin3 respectively install PostgreSQL1. execute the following command sudoapt-getinstallzlib1g-devsudoapt-getinstalllibreadline-dev2 in the terminal.
This
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.