Mailinglist Archive: opensuse-de (6883 mails)
| < Previous | Next > |
Re: MySQL - Daten importieren
- From: Oliver Dauter <suse@xxxxxxxxxxxx>
- Date: Mon, 1 Jul 2002 14:04:23 +0200
- Message-id: <20020701140423.A5445@xxxxxxxxxxxxxxxx>
* Andreas Meyer <anmeyer@xxxxxxx> [020701 13:24]:
Das ist doch schon eine MySQL-Tabelle...
MYD Data
MYI Index
frm Form
Das könntes Du so in Deine MySQL-Dir stecken und dann sollte das
gehen. Aber via myphpadmin wird das wohl nicht funktionieren.
Also wenn Du auf den Server so keinen Zugriff hast, würde ich
versuchen die Daten in ein Textfile zu konvertieren und dann mit
mysqlimport zu importieren.
http://www.mysql.com/doc/m/y/mysqlimport.html
Aber einfacher wäre es wirklich, wenn man die fertige Tabelle
einfach in das MySQL-Verzeichnis kopiert. Also zB.
/var/lib/mysql/dbname.
cheers.olli
--
...it still remains true that as a set of cognitive beliefs about the
existence of God in any recognizable sense continuous with the great
systems of the past, religious doctrines constitute a speculative
hypothesis of an extremely low order of probability.
- Sidney Hook
Ein Web-Studio fragt bei mir nach, ob es möglich ist, mit phpMyAdmin
Datensätze in eine Datenbank zu importieren?
phpMyAdmin habe ich per Browser bereitgestellt, aber mit Import
und so kenne ich mich bei MySQL nicht aus.
Die drei Datensätze heißen:
dt_kv_v.MYD
dt_kv_v.MYI
dt_kv_v.frm
Das ist doch schon eine MySQL-Tabelle...
MYD Data
MYI Index
frm Form
Das könntes Du so in Deine MySQL-Dir stecken und dann sollte das
gehen. Aber via myphpadmin wird das wohl nicht funktionieren.
Ich könnte mir vorstellen, daß das im SQL-Befehlseingabefenster
von phpMyAdmin gehen sollte in der Art:
insert into accountuser (username, password) values ('hurry', 'harry');
?
Oder geht das noch einfacher?
Also wenn Du auf den Server so keinen Zugriff hast, würde ich
versuchen die Daten in ein Textfile zu konvertieren und dann mit
mysqlimport zu importieren.
http://www.mysql.com/doc/m/y/mysqlimport.html
Aber einfacher wäre es wirklich, wenn man die fertige Tabelle
einfach in das MySQL-Verzeichnis kopiert. Also zB.
/var/lib/mysql/dbname.
cheers.olli
--
...it still remains true that as a set of cognitive beliefs about the
existence of God in any recognizable sense continuous with the great
systems of the past, religious doctrines constitute a speculative
hypothesis of an extremely low order of probability.
- Sidney Hook
| < Previous | Next > |