Nick,
Wednesday, April 24, 2002, 10:52:28 PM, you wrote:

NG> Nick Gilliam wrote:
>> Egor Egorov wrote:
>>> NG> I have encountered a problem with MySQL 4.0.0 and 4.0.1 in which
>>> I am NG> unable to bet a lock on a table with any userid except root.
>>>
>>> NG> Here is my environment:
>>> NG> Sun 450
>>> NG> Solaris 2.8
>>> NG> MyISAM tables
>>>
>>> NG> Any ideas on how this problem could be solved?
>>>
>>> Since version 4.0 user must have SELECT, UPDATE, DELETE, INSERT
>>> privileges to lock tables.
>>>
>>> NG> Thanks,
>>> NG> Nick Gilliam
>>>
>>
>> Thanks for the reply.  The user has the following privileges:  SELECT, 
>> UPDATE, CREATE, INSERT, DELETE, DROP, INDEX, REFERENCES, ALTER.  The 
>> user has these same privileges for every table in the database, but 
>> this is the only one he cannot lock.  This was not an initial problem 
>> but occurred later. 

NG> I just determined that only the root user can lock tables.  No other 
NG> user can at this time get a lock on any table.  Help!

Hm ... I tested .. it works fine for me ...
What error did you get when your user tried to lock tables?





-- 
For technical support contracts, goto https://order.mysql.com/
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to