+393713742262
By Assistenza Informatica Firenze/Dicembre 13, 2010/Comments are closed
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;