By barliesque on
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 user: 'recoverl_drupal@localhost' to database 'recoverl_drupal5'.
I've entered the correct database and user name, given the user full permissions, but still I get this. I'm able to log in fine with phpmyadmin or FlashMyAdmin with the same settings, and have no problem making new tables. I tried installing Drupal 4.7.6 as well, and had the same problem.
My host is Dot5Hosting, in case anyone's familiar with their particular setup.
Many thanks in advance for assistance!
Comments
your database user needs
your database user needs lock table permissions
see: http://drupal.org/requirements
As I say, I've given full
As I say, I've given full permission to the user. However, "LOCK" is not one of the available permission types in Dot5's control panel. The following permissions are all granted:
Select Insert Update Delete Create Drop Index Alter
then you will have to ask
then you will have to ask your host to add the LOCK permission as their idea of "full permissions" is only what they provide and not truly "full permissions"
Ask and you shall receive...?
Thanks for your help. I asked for the two missing privileges, and got one of 'em. Dot5 responded as follows...
So, now Drupal has installed completely, but with errors, due to the missing privilege.
...so without the CREATE TEMPORARY TABLE, is Drupal going to work properly?
I don't know what effect
I don't know what effect that will have on a Drupal installation. I would imagine certain features of Drupal will not work properly.
I using Byethost Free
I using Byethost Free hosting
I can't install Drupal:
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 user 'b18_298185'@'%' to database 'b18_298185_cva'.
Help me!
Either give your user LOCK
Either give your user LOCK permissions on your database, or ask your host to give them to you. LOCK tables is a requirement to run Drupal. If you host will not comply, consider changing hosts.
see:
godaddy's economy plan
Same error on Godaddy.com's Economy plan.
Same problem here
I'm also using Byethost (free hosting) and had the same problem. Byethost has assigned me lock permissions but they don't think CREATE TEMPORARY TABLE is necessary. Drupal installation completed, but still reports:
Does anyone know what parts of Drupal this breaks?
=-=
I believe search is broken in this type of case, could be others.
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
There is a solution
I have tried to install drupal in byte host and encountered same error with drupal 5.7
No such issues with drupal 6. it got installed without errors in bytehost free hosting. without those privileges.
Aslo try if the fantastico installer works.
In love and light ,
Vinayak
Drupal powered QA site @ http://computerkid.co.in
Get SSH for your account. 1)
Get SSH for your account.
1) If you have SSH enabled in your hosting account.
ssh user@linuxflavour.co.in
'user' is the hosting username
'linuxflavour.co.in' is the domain name. it can be ip also
2) once connected do type 'mysql'
3) In mysql prompt do
SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON drupal.* TO 'ragavendra'@'localhost'
//////////
'drupal' is the database name
'ragavendra' is the database user name