473,748 Members | 5,230 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Access denied for user 'ODBC'@'localho st' (using password: NO)

SKB
Hi,
I am absolutely new to this area. I am getting the following difficulty
:
Access denied for user 'ODBC'@'localho st' (using password: NO)
when I try the mysql command from within the C:\Program
Files\MySQL\MyS QL Server 5.0\bin on the command window.
Please note that the MySQL is runnging as I have tried the command NET
START MySQL and it gives the following output:
The requested service has already been started.
More help is available by typing NET HELPMSG 2182.

However when I try the command mysqladmin ping, it gives error as:
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'ODBC'@'localho st' (using password: NO)'

Thereafter giving mySQL at the command prompt gives the error:
ERROR 1045 (28000): Access denied for user 'ODBC'@'localho st' (using
password: N
O)

Since I am absolutely naive to this area...I am not getting any clues
as to what needs to be done...Any pointers will be a lot help!!

NOTE that I have first installed the myODBC driver
(mysql-connector-odbc-3.51.12-win32_setup.exe ) and on top of it I have
installed the MySQL mysql-5.0.18-win32_Setup.exe file and without any
root passwd(that is I have toggled off the root passwd box).

Regards
SKB

Feb 4 '06 #1
2 74715
SKB wrote:
Hi,
I am absolutely new to this area. I am getting the following difficulty
:
Access denied for user 'ODBC'@'localho st' (using password: NO)


Here are some things to test and try:
http://dev.mysql.com/doc/refman/5.0/...on-errors.html
Feb 4 '06 #2
"SKB" <bo********@gma il.com> wrote in message
news:11******** **************@ g47g2000cwa.goo glegroups.com.. .
Access denied for user 'ODBC'@'localho st' (using password: NO) .. . . (mysql-connector-odbc-3.51.12-win32_setup.exe ) and on top of it I have
installed the MySQL mysql-5.0.18-win32_Setup.exe file and without any
root passwd(that is I have toggled off the root passwd box).


Try running the mysql command with the following option:

C:> mysql -u root

This specifies the "root" MySQL user when you connect.

Because you didn't specify any user, it defaulted to an "anonymous"
(unnamed) user. On Windows, the username is set to "ODBC" for some reason
unknown to me (one would think it'd use the account name of the current
Windows user, as long as you were connecting from Windows NT/2000/XP).

Read this page (part of the tutorial) about connecting:
http://dev.mysql.com/doc/refman/5.0/...onnecting.html

And read the section of the docs starting at the link below, to learn more
than you ever thought possible about users and privileges:
http://dev.mysql.com/doc/refman/5.0/...ge-system.html

Regards,
Bill K.
Feb 4 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1850
by: bruno | last post by:
NEWBIE I have make a mistake using mysqlcc; now, user (mysql,root,bruno) can't acces to databases. I use both mysqlcc & phpMyAdmin but the answer is access denied root@192.168.1.102 (Using password:Yes) access denied bruno@localhost (Using password:Yes) Please an help Thanks in advance
3
4149
by: dstewart | last post by:
Situation: One common MySQL database server on SuSE 9.1 with all updates. Uses 'rinetd'. Has entries for the appropriate IP addresses of all servers. NOTE: If the appropirate entries are NOT in rinetd, the error message is: ERROR 2013: Lost connection to MySQL server during query Using the exact same query from prompt on several clients (some are SuSE 9.1, some are older Redhat systems, but none are configured
7
12154
by: Charts | last post by:
I login as administrator of the machine. However running the following code get access denied exception for file inside the directory. The source code: DirectoryInfo target = new DirectoryInfo(TargetDirectory); target.Delete(true); I don’t have problem manually delete the whole directory. Please advice. Thanks,
0
1275
by: | last post by:
I get Access Denied (System.Runtime.InteropServices.COMException) When trying to use DirectoryEntry on IIS via ASP.NET application. The same code I use is not generating this Exception while running in Console mode. Sample Code : DirectoryEntry obDirEntry = new DirectoryEntry (IISPrefix + ComputerName + IISRoot, UserName, Password);
1
1549
by: Saifee | last post by:
hi, I am using Microsft Outlook library in aspx.vb page, but when i run the function i get error of access denied and some user accounts. Please help!!!!!!!!! rgds, Saifee.
2
3799
by: Shailesh Gajare | last post by:
Hi All, I have creating an ASP.Net application with two web servers. I am uploading a file which is being uploaded on one of the server, I want to copy the uploaded file on the other server at the same time. It says Access Denied. I am using File.Copy ( Source , Destination , true ) command in my code, where Source : the current physical location of the uploaded file
1
1565
by: neelima | last post by:
Hi All, I am trying to build a webservice which would create a powerpoint presentation and save it to the file system. I am using the Powerpoint COM object for this purpose. The standalone windows application runs fine, but when I create a webservice on the same line i get a "Access denied error". This error occurs when the application is trying to create a Powerpoint.ApplicationClass. Does anyone have any ideas?
7
161308
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... ########################################### package MySQL-client-5.0.24a-0.glibc23 is already installed package MySQL-server-5.0.24a-0.glibc23 is already installed
8
28593
by: ajos | last post by:
hi frnds, im trying to convert my servlets database configuration from ms access to mysql database.however im getting some error like no driver found exception. to verify this error ive made a simple database in jsp(just to check if my mysql is working smoothly otherwise) which access' the username.....but in the process im getting a error--> java.sql.SQLException: Access denied for user ''@'localhost' (using password: NO) i have...
1
3107
by: whitey | last post by:
hi all, is there any other reason for this message to be displayed? other than incorrect username, password, database name?
0
8991
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8830
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9544
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9372
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9324
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8243
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6796
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
3313
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2783
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.