how to emulate "su mysql" in ubuntu?

Gunnar Fröberg gunnish at gmail.com
Wed Jul 28 15:37:31 UTC 2010


"su - mysql" should work.

2010/7/28 Robert P. J. Day <rpjday at crashcourse.ca>

>
>  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
> ========================================================================
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100728/f5276ce3/attachment.html>


More information about the ubuntu-users mailing list