how to emulate "su mysql" in ubuntu?

Robert P. J. Day rpjday at crashcourse.ca
Wed Jul 28 15:29:26 UTC 2010


  i just know i'm going to regret asking this, but how can i emulate
the effect of doing "su mysql" in ubuntu?  i'm trying to recover a
damaged mysql db and in the list of instructions is the note that you
have to run the mysql server in rescue mode as the mysql user, so the
page instructs one to "su mysql" first.

  well, if i was on fedora, that would be easy.  but what's the
equivalent on ubuntu?  is it simple?  or will it require editing
/etc/sudoers and so on?

rday

-- 

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Top-notch, inexpensive online Linux/OSS/kernel courses
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================




More information about the ubuntu-users mailing list