Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6631677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T22:34:49+00:00 2026-05-25T22:34:49+00:00

I have been using XAMPP for a while now, but this morning seems like

  • 0

I have been using XAMPP for a while now, but this morning seems like something kinda went wrong.
I am using XP with XAMPP 5.3.5.

I develop at home, and I use my other computer as a server. running PHP/APACHE/MYSQL on XAMPP.
I am using phpMyAdmin to manage my db.
I noticed that my webpage was not responding too quickly, would lag and return an error about not being able to connect to the DB. (I lost that error message, I tried too many times).

  1. I ended up changing the root security password inside phpMyAdmin
  2. changed the config.inc.php for that very same password

Still I get this message:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user ‘root’@’localhost’ (using password: NO) in C:\xampp\htdocs\MyProject\includes\connection.php on line 5
Database connection failed: Access denied for user ‘root’@’localhost’ (using password: NO).

Why does it say “using password: NO” ? I did create a password for root, and also for the directory, and also updated config.inc.php
How do I recover from this, seems like a work day has passed by.
Thanks !!!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T22:34:50+00:00Added an answer on May 25, 2026 at 10:34 pm

    Rule #1: DO NOT USE root for application programming.

    Try logging onto the database using the mysql client and your root password. If that doesn’t work, you may have to reset your root password. The MySql docs have instructions for that.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just downloaded the most recent copy of xampp. I have been using this
i've been using xampp 1.7.3 for a while now and today i've decided to
I have been using TortoiseSVN for some time and I really like it. I
I have been using an API to do some work. This is how I
I have been using echo $.sprintf(%01\$.2f,$numvar); for my USD formatting, but I only copied
I have been using the examples from this site ( http://dojotoolkit.org/documentation/tutorials/1.6/datagrid/ ) to render
I have been using XAMPP to connect to localhost to do editing on my
I am using the Xampp server with php5 . I have been trying to
As a PHP developer, I have been using Xampp for running PHP and MySQL
We have been using CruiseControl for quite a while with NUnit and NAnt. For

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.