473,651 Members | 2,461 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

phpMyAdmin MY#1045 - Access denied for user 'root'@'localho st' (using password: NO)

4 New Member
Hello All

I have successfully installed the following

IIS ver 6
php ver 4.4.9
MYSQL ver 5.0.67

when i tested through command line i get no error and i am view the php pages on the browser without any hitch. In the beginning when i was trying to connect to MYSQL through simple php script i was getting an authentication error which i could resolve by using OLD_PASSWORD.

Now during final stages ,
Now when i have installed phpMyAdmin ver 2.0.8.3and have also configured config.inc.php. There is persistent error i am getting which is something like

MYSQL says #1045 - Access denied for user 'root'@'localho st' (using password: NO)


I have tried OLD_PASSWORD technique which won't work. I have almost wasted 2 days on this. Can someone really suggest how to come out of this and make phpMyAdmin work .
Oct 29 '08 #1
4 8339
SeeMe
18 New Member
hi,

you just blank the password. not need key in any password.
Oct 29 '08 #2
pearl15
4 New Member
HI
Configuration in my conf.inc.php looks like this.

Expand|Select|Wrap|Line Numbers
  1. $cfg['Servers'][$i]['host']          = 'localhost'; // MySQL hostname or IP address
  2. $cfg['Servers'][$i]['port']          = '3306';          // MySQL port - leave blank for default port
  3. $cfg['Servers'][$i]['socket']        = '';          // Path to the socket - leave blank for default socket
  4. $cfg['Servers'][$i]['connect_type']  = 'tcp';       // How to connect to MySQL server ('tcp' or 'socket')
  5. $cfg['Servers'][$i]['extension']     = 'mysql';     // The php MySQL extension to use ('mysql' or 'mysqli')
  6. $cfg['Servers'][$i]['compress']      = FALSE;       // Use compressed protocol for the MySQL connection
  7.                                                     // (requires PHP >= 4.3.0)
  8. $cfg['Servers'][$i]['controluser']   = '';          // MySQL control user settings
  9.                                                     // (this user must have read-only
  10. $cfg['Servers'][$i]['controlpass']   = '';          // access to the "mysql/user"
  11.                                                     // and "mysql/db" tables).
  12.                                                     // The controluser is also
  13.                                                     // used for all relational
  14.                                                     // features (pmadb)
  15. $cfg['Servers'][$i]['auth_type']     = 'config';    // Authentication method (config, http or cookie based)?
  16. $cfg['Servers'][$i]['user']          = 'root';      // MySQL user
  17. $cfg['Servers'][$i]['password']      = 'password';          // MySQL password (only needed
  18.                                                     // with 'config' auth_type)
  19.  
Blanking the password does,nt do any good to me. I still get the same error. User is root and Password is password in my configuration. through command line everything is ok.

pearl
Oct 29 '08 #3
pearl15
4 New Member
hi,

you just blank the password. not need key in any password.
It's not helping that way..thanks though for early response..any other way out.
Oct 29 '08 #4
dlite922
1,584 Recognized Expert Top Contributor
It's not helping that way..thanks though for early response..any other way out.
can you "ping localhost" from the command line.

If it's Linux, you may not have localhost set as a host name.



Dan
Oct 30 '08 #5

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

Similar topics

5
2009
by: Henke | last post by:
I added a project to my solution that contains a user control. Now I 'd like to add the user control from that project to a form in my solution. The problem is that the control doesn't gets added to the My User Control tab. Any ideas? Thanks in advance, Henke!
4
1831
by: babylon | last post by:
I created a class which inherits from UserControl.. However, I can't find it in the "My User Controls" tab in designer view... How can i add it back myself? thx...
1
1447
by: Rene Blom | last post by:
Hello, i am trying several times to get my access '97 D-base in a access 2002 D-base but every time I get a mention that the D-bade is closed en wil be repared. Help please
2
1881
by: Lin DeNoyer | last post by:
I am so mad at microsoft right now! They just told me - 10 days after I placed my order for an upgrade to Office 2003 Pro - that they canceled the order because the credit card info didn't match the shipping info. (It did match, unless I made an error entering the credit card number on line! But they had my phone number, and email address, so 10 days is no excuse.) Now I am in a bind, and so asking for help. Is there any program that...
2
1507
by: Charles | last post by:
Hello, I am in ASP.NET using C#. I have a user control called "progHeader.ascx" that has a label control call "pageTitle". How do I call "pageTitle" from my asp page(Inventory.aspx), with the usercontrol "progheader" dropped on to it, and send the current page title to "pageTitle"? Charles
2
1967
by: ALI-R | last post by:
Hi I've created a bunch user comtrols for the footer,header,navigation bar of a webpage ,I have two problems: 1) All the controls are in the folder "Control" of the root and all the images are in the folder "Images" of the root ,all the hosting pages for my user controls are also in the root,what kind of path should I use for images in my user control? absolute,relative,..?
8
2258
by: David Lozzi | last post by:
Howdy, I have a user control that is a report to display data. On the page the control is inserted in, I have filter options to filter the report. When I try to do something like this, nothing happens. dim filt as string ... build filter string... UserControl.ReportFilter = filt
4
1248
by: Michael Turner | last post by:
Hi I have just added an existing project containing user controls into another solutions now they dont appear in 'my user controls' any idea why this is? I have tried building the solution. Thanks, Mike.
1
2699
by: Ellis Yu | last post by:
Dear all, I write my own components for my project and add them in "My User Control" under the toolbar. Some time later, I make some other new components into it and want to use them in my application. Thus I rebuild the "component" project again, but I can't find them in my "application" project. Therefore, I choose my "component" project dll file again in "Add/Remove Item" from "My User Control". This time, I not only see my new...
2
1819
by: Nathan Sokalski | last post by:
When I put my *.ascx files in the same directory as Web.config and my user controls are registered in Web.config it gives me an error. Putting my *.ascx files in another directory is not hard, but it can cause another annoyance: relative directories. For example, that means that I need to write code to add a ../ to the beginning of all relative directories used in the user controls, which can be a real pain, especially if the directory is...
0
8275
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
8795
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
8695
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...
0
7296
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...
0
5609
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4281
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2696
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
1
1906
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1585
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.