On 2010-11-27 13:36, ken yap wrote:
>
> I have suggested this before but you seemed to think it was beyond you.
>
> How about you relax the requirement to be able to use your existing DB
> to being able to import your existing DB to Kexi? I.e. how about you
> create a database within Kexi using Kexi’s GUI, whose schema is close or
> even identical to what you have and then do an import from your existing
> database?
Ok, I started kexi again.
I create new database on a file.
I created one table, books. Three fields: id, titles, authors, set id as
primary, and save.
I create another table, id, author. I try to set id as primary field, it
doesn’t hold. I try to save, it complains no primary key, set one
automatically? Yes. It defines new id2 as primary. Save is disabled.
Buggy as hell.
I have to switch to “data mode” and back to be able to choose the primary
key, and save.
Now, how do I tell kexi to use the table authors as a list of authors for
the table books? There is no link button.
No, imposssible, kexi is not an option.
>
> From what you described of your DB, it seemed like just a simple case
> of two tables where the author_id in the publication (?) table is a
> foreign key referencing the author table. I’m sure any of the MySQL
> users in this forum could tell you to proceed if you post the schema:
>
> mysql -d -u username -p dbname
cer@Telcontar:~> mysql -d -u cer -p biblioteca
mysql: unknown option ‘-d’
> will dump the schema of your DB for you to post.
No, no such option “-d”
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)