473,386 Members | 1,712 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Access denied for user 'mysqladmin'@'localhost'

65
i am trying to use mysql db for the first time.
i have installed mysql-noinstall-5.0.45-win32.zip to my pc.
although i didnt have set any password,
when i try to login for mysqladmin user via command prompt,
i am asked for the password then i get
Expand|Select|Wrap|Line Numbers
  1. ERROR 1045 (28000): Access denied for user 'mysqladmin'@'localhost' (using passw
  2. ord: YES)
what can i do to reset the password, or to retrieve the password?
Sep 22 '07 #1
5 10368
mwasif
802 Expert 512MB
Did you create the user 'mysqladmin'? Use root instead.
Sep 22 '07 #2
stmfc
65
thanks for the reply
i thought that mysqladmin is the name of the root user.
now i see that there is separate root user.
what i dont understand is:
is mysqladmin is a special user, or is it the same as other users?
do i have to create mysqladmin user?
Sep 22 '07 #3
mwasif
802 Expert 512MB
root is the super user of MySQL which can do everything (only in mysql;)). You need to create mysqladmin user using GRANT after being logged-in with root. Or you can use any GUI tool to maintain the DB e.g. HeidiSQL.
Sep 22 '07 #4
pbmods
5,821 Expert 4TB
Heya, stmfc.

There's no special significance to the mysqladmin User. You could just as easily use johhnybgood as the Username. As long as it has the proper permissions, you can log in with whatever account that you want.

The only exception is root, which is traditionally the superuser.
Sep 22 '07 #5
bartonc
6,596 Expert 4TB
i am trying to use mysql db for the first time.
i have installed mysql-noinstall-5.0.45-win32.zip to my pc.
although i didnt have set any password,
when i try to login for mysqladmin user via command prompt,
i am asked for the password then i get
Expand|Select|Wrap|Line Numbers
  1. ERROR 1045 (28000): Access denied for user 'mysqladmin'@'localhost' (using passw
  2. ord: YES)
what can i do to reset the password, or to retrieve the password?
I'll bet that you skipped the Instance Configuration Wizard....
Start->Programs->MySQL->MySQL Server 5.0->MySQL Server Instance Configuration Wizard.

Then when you run MySQLAdmin click the Stored connection "..." button to set up your default login.
Sep 22 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Andreas Reuleaux | last post by:
What works for me with mysql 3.23.49 of Debian GNU/Linux (Woody), does not any more with mysql 3.23.56 of fink (current-stable, for fink cf. fink.sf.net) - I am not sure, if this problem is caused...
0
by: Ryan Schefke | last post by:
------=_NextPart_000_0077_01C34C8B.2B90C960 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit ..I just sent this out to the win32 distribution list but no one has...
0
by: Vidhya CS | last post by:
hi , I installed MySQL-server-4.0.14-0.i386.rpm MySQL-client-4.0.14-0.i386.rpm when I give mysqladmin -u root it is asking for password . The doc says that initially the password is empty and...
2
by: Kevin Goad | last post by:
Im running Mandrake Linux 9.1 on a Laptop I recently bought, and its purpose its a PHP development machine, and I want to use a MySQL Backend. I think when I was installing MySQL, something got...
8
by: John | last post by:
Hello. I am currently working through a book on Dreamweaver and using PHP. I am having a little trouble with setting up the database though. I have php 4.2.3 and MySQL 4.0.20a. I am running...
0
by: ASP.Confused | last post by:
The old message looked a little stale, so I am re-posting it here. Anybody have any ideas of what I could do?!? The previous responses to this question are below. If you want to look at the...
2
by: SKB | last post by:
Hi, I am absolutely new to this area. I am getting the following difficulty : Access denied for user 'ODBC'@'localhost' (using password: NO) when I try the mysql command from within the...
7
by: rajbala.3399 | last post by:
Hi , I want to download sql in my linux system........... # rpm -ivh MySQL-server-5.0.24a-0.glibc23.i386.rpm MySQL-cl ient-5.0.24a-0.glibc23.i386.rpm Preparing... ...
3
by: santhanalakshmi | last post by:
Change MySQL password for other user : C:\xampp\mysql\bin>mysqladmin -u paru -psan password 'paru'; mysqladmin:connect to server at 'localhost' failed error:'Access denied for user...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.