Faceted search e mysql

2 contenuti / 0 new
Ultimo contenuto
Faceted search e mysql

ciao a tutti!
Vorrei installare il modulo Faceted serach per utilizzarlo in abbinamento a Biblio Module per la creazione di un archivio con diverse tipologie di materiali (libri, lettere, articoli, ecc.) e mi sembra indispensabile una ricerca a faccette.

Le istruzioni di installazione richiedono però di eseguire prima questi passaggi:

Quote:
When using MySQL, in addition to the database permissions already required by
Drupal, you will also need to grant your database user the LOCK TABLES and
the CREATE TEMPORARY TABLES permissions. To grant those permissions, you need
to login to your database:

mysql -u username -p

You will be asked for the 'username' database password. Then, at the MySQL
prompt, enter the following command:

GRANT LOCK TABLES, CREATE TEMPORARY TABLES
ON databasename.*
TO 'username'@'localhost';

where

'databasename' is the name of your database
'username@localhost' is the username of your MySQL account

Note: Unless your database user has the privileges listed above, you will not
be able to have Faceted Search work properly.

If successful, MySQL will reply with:

Query OK, 0 rows affected

Then enter the following command:

quit;

Allora:
1. Entro nel pannello di Tophost e attivo phpAdmin. Quando eseguo però "mysql -u username -p" la risposta è:

Quote:
Messaggio di MySQL: Documentazione
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysql -u xxx -p' at line 1

2. Se provo a dare comunque il secondo comando ottengo:

Quote:
Messaggio di MySQL: Documentazione
#1044 - Access denied for user 'xxx'@'%' to database 'xxx'

(ho sostituito con 'xxx' la username e nome database che nel mio caso coincidono)

Le ho provate un po' tutte ma non riesco a passare il punto 1. (che credo blocchi il successivo).
Qualcuno sa indicarmi dove sta l'errore di sintassi nel comando?
Versione MySQL client: 4.0.24

grazie! Alberto

Ho seguito la tua richiesta e mi sono caricato il modulo sul mio http://www.ultrasuonimacchine.com/ultrasuoni (su mister..)
Mi ha fatto un warning "quasi" simile per la fantomatica tabella ma dopo un refresh è sparito, il modulo è pronto .. Qui tutto funziona !
Prova a sentire cosa dice l'assistenza del tuo registar ?!
Cmq è una Beta 2 e il Topo non mi pare il massimo

Leggi qui anche : http://drupal.org/node/773154