Re: Moving from Mysql

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: Moving from Mysql
Дата
Msg-id 20100523030602.GZ21875@tamriel.snowman.net
обсуждение исходный текст
Ответ на Moving from Mysql  (Luis Daniel Lucio Quiroz <luis.daniel.lucio@gmail.com>)
Ответы Re: Moving from Mysql  (David Fetter <david@fetter.org>)
Список pgsql-general
* Luis Daniel Lucio Quiroz (luis.daniel.lucio@gmail.com) wrote:
> 1. whar are equivalent for these commands:
> in mysql:  mysqldump mydata_base_name

pg_dump (pg_restore to restore from the dump, if you use a non-SQL
format for it, which can give you the ability to do a parallel-restore)

> mysql mydata_base_name < script.sql

psql

> 2. any link to read about how to admin pgsql with mysql backgraounds,

The PG documentation is really quite good:
http://www.postgresql.org/docs/8.4/

> 3. how users are managed in pgsql, i need to create a specifiq username for db,
> but how?

PG Roles (users and groups) are managed on a per-cluster level.  There
isn't a really good way to do them at a per-database level today.
A cluster in PG is a full PG instance and a single cluster contains
multiple databases.  You can manage which databases users are allowed to
connect to though, check out the GRANT command.

    Thanks,

        Stephen

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Ivan Voras
Дата:
Сообщение: Full text search on a complex schema - a classic problem?
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Full text search on a complex schema - a classic problem?