A brand new installation has no password set, therefore you do not need -p
so your command should be exactly as I've already given you.  Of course you
add your-brand-new-password after the word password.

If that still doesn't work, you can stop the server, delete the privileges
database, rerun mysql_install_db and try setting the password again.

or

restart the server with the skip grants option, set the password (don't
forget to flush privileges), then restart the server as normal.

How to do all this is explained in the manual.

----- Original Message -----
From: "Alud" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 07, 2001 18:32
Subject: RE: mySQL setup


>
> Hi
>
> Thanks, I tried, but it still didn't work.
>
> Can somebody point me to an idiot proof installation site, I've tried a
few
> from the web, some seam to help slightly, others seam to hinder more
>
> Cheers, Alud
>
> -----Original Message-----
> From: Rolf Hopkins [mailto:[EMAIL PROTECTED]]
> Sent: 07 May 2001 10:47
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: mySQL setup
>
>
> Since this a first installation try     ./bin/mysqladmin -u root password
> instead.
>
>
> ----- Original Message -----
> From: "Alud" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, May 07, 2001 17:27
> Subject: mySQL setup
>
>
> >
> > Hey
> >
> > I'm kinda new to all this, so please forgive me if this seams like a
dumb
> > question:
> >
> > I've been trying to set up a mySQL server today, and I can get so far,
but
> > keep getting a problem, I've never done anything like this before so I'm
> > quite happy to accept that I'm missing something easy, but any help
would
> be
> > gratefully received.
> >
> > I'm running Suse 7.1
> >
> > Brgds, Alud
>
> --------------------------------------------------------------------------
> --
> > -
> >
> > amy:~/mysql-3.23.37-pc-linux-gnu-i686 # ./bin/mysqladmin -u root -p
> password
> > ********
> > Enter password: ********
> >
> > /bin/mysqladmin: connect to server at 'localhost' failed error: 'Access
> > denied for user: 'root@localhost' (Using password: YES)'
> >
> > ---------------------------------
> > So then I try and check that the server is there:
> > ---------------------------------
> >
> > amy:~/mysql-3.23.37-pc-linux-gnu-i686 # ./bin/mysqladmin version
> >
> > ./bin/mysqladmin  Ver 8.19 Distrib 3.23.37, for pc-linux-gnu on i686
> > Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
> > This software comes with ABSOLUTELY NO WARRANTY. This is free software,
> > and you are welcome to modify and redistribute it under the GPL license
> >
> > Server version          3.23.37
> > Protocol version        10
> > Connection              Localhost via UNIX socket
> > UNIX socket             /tmp/mysql.sock
> > Uptime:                 59 min 37 sec
> >
> > Threads: 1  Questions: 5  Slow queries: 0  Opens: 6  Flush tables: 1
Open
> > tables: 0 Queries per second avg: 0.001
> >
> >
> >
> > ---------------------------------------------------------------------
> > Before posting, please check:
> >    http://www.mysql.com/manual.php   (the manual)
> >    http://lists.mysql.com/           (the list archive)
> >
> > To request this thread, e-mail <[EMAIL PROTECTED]>
> > To unsubscribe, e-mail
> <[EMAIL PROTECTED]>
> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to