Re: Mysql
- From: Michael Soibelman <in-the@xxxxxxxxx>
- Date: Sun, 30 Mar 2008 19:34:52 GMT
houghi wrote:
David Bolt wrote:
[0] IIRC, when you start up the mysql daemon for the first time, it asks
you to set a password for user root at localhost and also for
root@xxxxxxxxxxxxxx using /usr/bin/mysqladmin. If you haven't done very
much you might be lucky and find that command, including the password
you set, in your bash history.
The confusion comes from the fact that the user `root` on a system is
a user that has access to everything, while this is not true for a user
`root` in MySQL.
There the user can be anybody, including `root` or `mysql_root` or
`anything_you_desire` and there has to be no relation perse between the
users on the system and the users in MySQL.
Even worse is that MySQL can work perfectly without the yser 'root' in
MySQL and on some places I read that having 'root' in MySQL could be a
security problem.
Setting MySQL up is not the most logical thing to do. Hence bug #347149
Took me a long time to grasp that as well.
houghi
Thanks for this information. This helps clarify some problems I had in the
past about root in SuSE & root for MySQL. I've read and re-read the
documentation and have had some 'huh ?' moments as the documents are a bit
terse and complicated. I think it would be nice if Yast had a module for
setting up MySQL including a help assistant too.
Anyway, thanks for pointing this (ROOT v root) out. Now I (we) know.
.
- Follow-Ups:
- Re: Mysql
- From: houghi
- Re: Mysql
- References:
- Mysql
- From: Blattus Slafaly 0/00 ? ? ?
- Re: Mysql
- From: Michael Soibelman
- Re: Mysql
- From: Blattus Slafaly 0/00 ? ? ?
- Re: Mysql
- From: birre
- Re: Mysql
- From: Blattus Slafaly 0/00 ? ? ?
- Re: Mysql
- From: Vahis
- Re: Mysql
- From: Blattus Slafaly 0/00 ? ? ?
- Re: Mysql
- From: Darrell Stec
- Re: Mysql
- From: Blattus Slafaly 0/00 ? ? ?
- Re: Mysql
- From: David Bolt
- Re: Mysql
- From: houghi
- Mysql
- Prev by Date: Re: Mysql
- Next by Date: Re: Mysql
- Previous by thread: Re: Mysql
- Next by thread: Re: Mysql
- Index(es):
Relevant Pages
|