3 Replies - 533 Views - Last Post: 14 May 2013 - 08:05 AM

#1 JavaHelper  Icon User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 8
  • Joined: 13-May 13

Xampp problem

Posted 14 May 2013 - 07:26 AM

Hello everybody ..

I made a php website for my college project but when I was trying to make a database for the adminstration the Xampp program has an error ..
and it happen in each lab I try to use..

the error message:


Welcome to phpMyAdmin

Error

MySQL said: documents and documentaries
# 1045 - Access denied for user 'root' @ 'localhost' (using password: NO)
Connection for controluser as defined in your configuration failed.
PhpMyAdmin tried to connect to a server MySQL, and the server rejected the connection. You should check out the host, or a user name and password in the setup file config.inc.php and make sure they conform to the information given to you by the administrator for MySQL server.
Open new phpMyAdmin window

Is This A Good Question/Topic? 0
  • +

Replies To: Xampp problem

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9201
  • View blog
  • Posts: 34,575
  • Joined: 12-June 08

Re: Xampp problem

Posted 14 May 2013 - 07:46 AM

In your xampp phpmyadmin folder there should be something like 'config.inc.php'.

Find the line that says:
$cfg['Servers'][$i]['password'] = '<stuff>'

I believe you should be able to blow out anything that is in the <stuff> and just retain the single quotes.

Baring that you can find an insane number of scenarios and solutions with binging: xampp # 1045 - Access denied for user 'root' @ 'localhost' (using password: NO)
Was This Post Helpful? 0
  • +
  • -

#3 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6063
  • View blog
  • Posts: 23,515
  • Joined: 23-August 08

Re: Xampp problem

Posted 14 May 2013 - 07:59 AM

The word for "disease" in Chinese is phonetically "Bing". ;)
Was This Post Helpful? 0
  • +
  • -

#4 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9201
  • View blog
  • Posts: 34,575
  • Joined: 12-June 08

Re: Xampp problem

Posted 14 May 2013 - 08:05 AM

Pffsst.. I rolled a natural 20 on my 'save vs your illusion'.

Posted Image
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1