Mandriva Linux Archives: cooker@mandrivalinux.org
Mandriva Linux: cooker@mandrivalinux.org
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- From: Frank Griffin
- Subject: Re: [Cooker] mysql default password
- Date: 2 Mar 2008 14:38:11 -0000
John Keller wrote: > Austin Acton wrote: > >> Does mysql suddenly ship with a default password? It never did before. >> >> [austin@blackbox ~]$ >> cat /usr/share/doc/mythtv-backend/README.install.urpmi >> You can import the initial database by running: >> mysql -u root -p < /usr/share/mythtv/initialdb/mc.sql >> (you can omit -p if you do not have the password set) >> >> [austin@blackbox ~]$ mysql -u root < /usr/share/mythtv/initialdb/mc.sql >> ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using >> password: NO) >> >> Austin >> > > Try: > mysql -h 127.0.0.1 -u root < /usr/share/mythtv/initialdb/mc.sql > > That's what I usually do instead of trying to figure out the real cause > config when I'm working on one one of my shared web host accounts. > > Though knowing why mysql doesn't "like" localhost would be better... :-) > > - John > It could be, as you suggest, that mysql is failing to resolve localhost to 127.0.0.1, but it could also be that the failure is caused by leaving off the "-p", which implies that no password has been set for the "root" ID. If one has been set, you'd get the same failure.
- Replies:
- Re: [Cooker] mysql default password
- From: Austin Acton
- Re: [Cooker] mysql default password
- References:
- [Cooker] mysql default password
- From: Austin Acton
- Re: [Cooker] mysql default password
- From: John Keller
- [Cooker] mysql default password
- Prev by Date: [Cooker] Re: r170018 - in cooker/mythplugins/current: SOURCES
- Next by Date: [Cooker] One to USB
- Previous by thread: Re: [Cooker] mysql default password
- Next by thread: Re: [Cooker] mysql default password
- Index(es):
Search the archive:
To (un)subscribe from/to the lists:
Fund the Mandriva Linux project
