Re: Mysql
- From: David Bolt <blacklist-me@xxxxxxxxxx>
- Date: Mon, 31 Mar 2008 18:32:06 +0100
On Mon, 31 Mar 2008, Blattus Slafaly 0/00 ? ? ? wrote:-
It won't accept my hostname. I get up to mysqladmin version, works ok.
Then mysqlshow fails. Mysqladmin -u root password new_password works,
mysqladmin -u root -h my_system_hostname password mysql_root_password
fails, cannot access with that hostname.
I found that part of that problem was caused by having the host name
entered into /etc/hosts. In my case I removed the entry:
127.0.0.2 lion.davjam.org lion
then logged in using:
mysql -h localhost -u root -p
After that, I entered these two commands:
grant all privileges on *.* to 'root'@'lion.davjam.org' identified by '<my password>';
grant grant option on *.* to 'root'@'lion.davjam.org' identified by '<my password>';
The first command, despite saying all privileges, doesn't give the
ability to grant users access rights. Using the second command gives the
user that ability. After that, I logged out again and re-logged in
using:
mysql -h lion.davjam.org -u root -p
and created a new user using:
grant all privileges on test.* to 'username'@'<my.host.name>' identified by '<users password>';
I'm following the Suse Linux 10 Unleashed manual page 520 to 525. It
makes me angry when I follow directions and they don't work.
I uninstall the whole dam thing and deleted everything again.
Okay. First thing I do when something is that frustrating is to walk
away from it, do something else and then return to it when I'm more
relaxed. It saves me from doing things like uninstalling things when I'm
only got to reinstall them later.
Regards,
David Bolt
--
www.davjam.org/lifetype/ www.distributed.net: OGR@100Mnodes, RC5-72@15Mkeys
SUSE 10.1 32bit | openSUSE 10.2 32bit | openSUSE 10.3 32bit | openSUSE 11.0a1
SUSE 10.1 64bit | openSUSE 10.2 64bit | openSUSE 10.3 64bit
RISC OS 3.6 | TOS 4.02 | openSUSE 10.3 PPC |RISC OS 3.11
.
- 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: Blattus Slafaly 0/00 ? ? ?
- Mysql
- Prev by Date: Re: Mysql
- Next by Date: Re: Mysql
- Previous by thread: Re: Mysql
- Next by thread: Re: default color profile of mutt
- Index(es):
Relevant Pages
|