commit f9baece76e770a80200d8704b9d195ac0f3f4900
parent 70dbc1722aa4cdd71da3c60cc94be49b2ee43a11
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Tue, 27 Dec 2011 01:26:57 +0100
update mysql import command in readme
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/README b/README
@@ -40,6 +40,8 @@ To import the output of lexique2sql.sh in a MySQL database (on localhost,
database 'drime', as user 'drime', interactive password authentication), run:
cat output.sql |
+ cat <(echo 'use drime;') - |
+ cat - <(echo 'CREATE UNIQUE INDEX main ON words(word, phon);') |
sed 's/varchar([0-9]*)/& collate utf8_bin/g' |
mysql --default-character-set=utf8 -D drime -u drime -p