By 13 Dicembre 2010 0 Comments

Errore su DRUPAL

Ciao
quando DRUPAL da un errore di questi tipo :

We were unable to lock a test table on your MySQL database server. We tried locking a table with the command LOCK TABLES drupal_install_test WRITE and MySQL reported the following error: Access denied for

vuol dire che i normali permessi MYSQL non gli bastano.
Bisogna dare alla CONSOLLE una stringa così:

GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON databasename.* TO ‘username’@’localhost’ IDENTIFIED BY ‘password’;

dove:

‘databasename’ è il nome del DB
‘username@localhost’ è l’utente
‘password’ è la password

e dopo :

FLUSH PRIVILEGES;


About the Author:

shared on wplocker.com