Le 15/01/2014 22:08, Carl Paulsen a écrit :
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
This is enough to tell us that the data came from a mysql database
originally. MyISAM is the default engine for non-transactional MySQL
In the sample table you give, the table/field definitions are particular
to mysql, so if you try to run that sql with another db engine, e.g. in
hsqldb via LO Tools > SQL, it will fail because it will not recognise
the field types you're trying to create (e.g. enum, mediumint.
So, your best bet would be to import that into a mysql server, assuming
you have one to hand and you have some kind of console/terminal access
(localhost / same machine):
mysql < '/path/to/myfiletoimport.sql'
optionally with -p if you require authentication for the user that is
connecting to the mysql server :
mysql -p < '/path/to/myfileimport.sql'
There are many web sites on the internet that are full of information on
how to set up and import data into a mysql server.
To unsubscribe e-mail to: firstname.lastname@example.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Impressum (Legal Info)
: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (MPLv2
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our trademark policy