Cip, Friday, March 01, 2002, 6:12:54 PM, you wrote: C> I just made the stupidest mistake I ever done:
C> I installed mysql on a RH Linux machine. And as usual I wanted to setup the C> users I need and take out the ones that I don't. Only when I executed a C> query, I did not realize that instead of deleting two users I deleted all C> users... C> And guess what, after that I flushed the privileges and exit mysql (I had C> no idea what I had just done). Later on I realized I can not connect to the C> server anymore, and then is when I realized what I had done. C> My question is: is there any way to connect to mysql server if there is no C> user in the user table?? Run mysqld with --skip-grant-tables, then you can create new users. Note: if you start with --skip-grant-tables option you should do FLUSH PRIVILEGES before using GRANT statement. C> Than you all, C> --Cip-- -- For technical support contracts, goto https://order.mysql.com/ This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Victoria Reznichenko / /|_/ / // /\ \/ /_/ / /__ [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