ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Алексей Шенцев" <ashen@nsrz.ru>
To: slava@tangramltd.com,
	ALT Linux Community general discussions
	<community@lists.altlinux.org>
Subject: Re: [Comm] Конвертирование базы из mysql в sqllite
Date: Fri, 26 Oct 2007 16:20:06 +0400
Message-ID: <200710261620.06483.ashen@nsrz.ru> (raw)
In-Reply-To: <4721D86C.9030202@tangramltd.com>

В сообщении от Friday 26 October 2007 16:07:08 Slava Dubrovskiy написал(а):
> Алексей Шенцев пишет:
> >>>> Подскажите, как и чем можно конвертнуть базу из mysql в sqlite.
> >>>> Шуршу гуглем, но что-то никак не получается.
> >>>
> >>> не понял... а в чем проблема? экспорт базы сделать из mysql, потом
> >>> импорт в sqlite
> >>
> >> Не работает так. Синтаксис SQL отличается.
> >
> > Пардон, так перенос БД или SQL-запросов? Это ведь разные вещи.
>
> Ок. Есть база для trac в mysql. Хочу использовать sqlite. Нужно базу
> конвертировать из mysql в sqlite. Если дамп с mysql скормить sqlite, то
> импорт не проходит из-за разного синтаксиса SQL.
Именно из-за синтаксиса SQL или из-за различий в структуре БД? Слав, всё таки 
БД это структурированное хранилище данных. В современных системах 
клиент-серверной архитектуры это ещё и хранимые процедуры. И естественно в 
разных СУБД это имеет отличные дрыг от друга формат. И просто выгрузка дампа 
из одной СУБД в другую не прокатывает. 
Вот смотри, что мне выдал google:
http://sb-news.net/index.php?n=91#q3
-- 
С уважением Шенцев Алексей Владимирович.
E-mail: ashen@nsrz.ru
XMPP: ashen@altlinux.org, AlexShen@jabber.ru
ICQ: 271053845

  reply	other threads:[~2007-10-26 12:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-25 14:48 Slava Dubrovskiy
2007-10-26  5:20 ` Andrew G. Klepcha
2007-10-26 11:42   ` Slava Dubrovskiy
2007-10-26 12:02     ` Алексей Шенцев
2007-10-26 12:07       ` Slava Dubrovskiy
2007-10-26 12:20         ` Алексей Шенцев [this message]
2007-10-26 17:56           ` Andrey Rahmatullin
2007-10-26 13:24         ` Andrew G. Klepcha
2007-10-26 18:18           ` Maxim Bodyansky
2007-10-26 18:35             ` Andrew G. Klepcha
2007-10-26 18:40             ` Slava Dubrovskiy
2007-10-26 19:06               ` Maxim Bodyansky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200710261620.06483.ashen@nsrz.ru \
    --to=ashen@nsrz.ru \
    --cc=community@lists.altlinux.org \
    --cc=slava@tangramltd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git