Problem with installing MySQL

Problem with installing MySQL

am 08.04.2010 16:02:15 von alba.albetti

I've just installed MySQL on Windows 2000.
I've opened the MS-DOS windows and I've written >C:\Programs\MySQL\...\bi=
n\mysqladmin -u root -p password mysql2010
After the enter the prompt says >Enter password: and I've given =
and I get

mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'

After installing MySQL what do I have to do left?
Sorry my this is my firt time with MySQL

Thanks!


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=3Dgcdmg-mysql-2@m.gmane.o rg

Re: Problem with installing MySQL

am 08.04.2010 17:25:03 von mos

At 09:02 AM 4/8/2010, alba\.albetti wrote:
>I've just installed MySQL on Windows 2000.
>I've opened the MS-DOS windows and I've
>written >C:\Programs\MySQL\...\bin\mysqladmin -u root -p password mysql2010
>After the enter the prompt says >Enter password: and I've given
>and I get
>
>mysqladmin: connect to server at 'localhost' failed
>error: 'Access denied for user 'root'@'localhost' (using password: NO)'
>
>After installing MySQL what do I have to do left?
>Sorry my this is my firt time with MySQL
>
>Thanks!


Don't add a space between the "-u" and the user name or "-p" and the password.

Example, use:

C:\Programs\MySQL\...\bin\mysqladmin -uroot -p mysql2010

Mike



>--
>MySQL General Mailing List
>For list archives: http://lists.mysql.com/mysql
>To unsubscribe: http://lists.mysql.com/mysql?unsub=mos99@fastmail.fm


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=gcdmg-mysql-2@m.gmane.org

Re: Problem with installing MySQL

am 08.04.2010 22:31:24 von Carsten Pedersen

don't have a space between '-p' and 'password', i.e. -ppassword

/ Carsten

alba.albetti skrev:
> I've just installed MySQL on Windows 2000.
> I've opened the MS-DOS windows and I've written >C:\Programs\MySQL\...\bin\mysqladmin -u root -p password mysql2010
> After the enter the prompt says >Enter password: and I've given and I get
>
> mysqladmin: connect to server at 'localhost' failed
> error: 'Access denied for user 'root'@'localhost' (using password: NO)'
>
> After installing MySQL what do I have to do left?
> Sorry my this is my firt time with MySQL
>
> Thanks!
>
>

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=gcdmg-mysql-2@m.gmane.org

Re: Problem with installing MySQL

am 08.04.2010 22:36:23 von Michael Dykman

If you want to specify the password itself on the command line use
'--password' (double hyphen). '-p' requests interactive password
prompt.

- michael


On Thu, Apr 8, 2010 at 4:31 PM, Carsten Pedersen wrot=
e:
> don't have a space between '-p' and 'password', i.e. -ppassword
>
> / Carsten
>
> alba.albetti skrev:
>>
>> I've just installed MySQL on Windows 2000.
>> I've opened the MS-DOS windows and I've written
>> >C:\Programs\MySQL\...\bin\mysqladmin -u root -p password mysql2010
>> After the enter the prompt says >Enter password: =A0and I've given r>
>> and I get
>>
>> mysqladmin: connect to server at 'localhost' failed
>> error: 'Access denied for user 'root'@'localhost' (using password: NO)'
>>
>> After installing MySQL what do I have to do left?
>> Sorry my this is my firt time with MySQL
>>
>> Thanks!
>>
>>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe: =A0 =A0http://lists.mysql.com/mysql?unsub=3Dmdykman@gmail=
..com
>
>



--=20
- michael dykman
- mdykman@gmail.com

May the Source be with you.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=3Dgcdmg-mysql-2@m.gmane.o rg

Re: Problem with installing MySQL

am 09.04.2010 08:45:00 von Ananda Kumar

--00504502c5f562a0b90483c822b9
Content-Type: text/plain; charset=ISO-8859-1

what is mysql2010, it it host name or password.

If password, there cannot be space for a password, it its host, then dont
use if u connecting from the server.

regards
anandkl

On Fri, Apr 9, 2010 at 2:06 AM, Michael Dykman wrote:

> If you want to specify the password itself on the command line use
> '--password' (double hyphen). '-p' requests interactive password
> prompt.
>
> - michael
>
>
> On Thu, Apr 8, 2010 at 4:31 PM, Carsten Pedersen
> wrote:
> > don't have a space between '-p' and 'password', i.e. -ppassword
> >
> > / Carsten
> >
> > alba.albetti skrev:
> >>
> >> I've just installed MySQL on Windows 2000.
> >> I've opened the MS-DOS windows and I've written
> >> >C:\Programs\MySQL\...\bin\mysqladmin -u root -p password mysql2010
> >> After the enter the prompt says >Enter password: and I've given
> >> and I get
> >>
> >> mysqladmin: connect to server at 'localhost' failed
> >> error: 'Access denied for user 'root'@'localhost' (using password: NO)'
> >>
> >> After installing MySQL what do I have to do left?
> >> Sorry my this is my firt time with MySQL
> >>
> >> Thanks!
> >>
> >>
> >
> > --
> > MySQL General Mailing List
> > For list archives: http://lists.mysql.com/mysql
> > To unsubscribe: http://lists.mysql.com/mysql?unsub=mdykman@gmail.com
> >
> >
>
>
>
> --
> - michael dykman
> - mdykman@gmail.com
>
> May the Source be with you.
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe: http://lists.mysql.com/mysql?unsub=anandkl@gmail.com
>
>

--00504502c5f562a0b90483c822b9--

Re: Problem with installing MySQL

am 18.04.2010 18:20:42 von Shawn Green

alba.albetti wrote:
> I've just installed MySQL on Windows 2000.
> I've opened the MS-DOS windows and I've written >C:\Programs\MySQL\...\bin\mysqladmin -u root -p password mysql2010
> After the enter the prompt says >Enter password: and I've given and I get
>
> mysqladmin: connect to server at 'localhost' failed
> error: 'Access denied for user 'root'@'localhost' (using password: NO)'
>
> After installing MySQL what do I have to do left?
> Sorry my this is my firt time with MySQL
>

If you have not set a password for the root user, yet, then there is no
password. Leave off the -p option and see if it allows you to set it
that way.

--
Shawn Green
MySQL Principle Technical Support Engineer
Oracle USA, Inc.
Office: Blountville, TN

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=gcdmg-mysql-2@m.gmane.org