D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Databases again

 

On Mon, Jun 26, 2006 at 02:58:58PM +0100, Neil Winchurst wrote:
> I have now found out that I was following the user manual and entering
> mysqld_safe --user=mysql & (as root) and this did not work. Yesterday I
> must have done something that worked and this morning the server was
> still running.
> 
> Some research has shown me that, as root, I just enter
> mysqld_safe & and away she goes. I must not include the bit about user
> and mysql. To stop the server I use 'mysqldadmin shutdown' (as root).
> Now I can play a bit.

You do have a mysql user on your machine don't you? Genrally it's not a
good idea to run things like mysql as root, as a buffer overflow or
similar will give a hacker root access.

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html