This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes PHP and the fly likes Unable to login as root in Php My admin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Languages » PHP
Bookmark "Unable to login as root in Php My admin" Watch "Unable to login as root in Php My admin" New topic
Author

Unable to login as root in Php My admin

Swela Jathar
Greenhorn

Joined: Aug 19, 2011
Posts: 22
Hi,
i have installed wamp server 2.2 package.After insatllation i am not able to login as user root .iam able to login as pma(ie php my admin) but this user has no privileges to create database.And I have not given password to user root still it gives error
]
#1045 - Access denied for user 'root'@'localhost' (using password: NO)

Please help me..
Thanks in advance.............
K. Tsang
Bartender

Joined: Sep 13, 2007
Posts: 2380
    
    7

It seems there is NO default for user root because of "using password: NO". If it needs one then it should "using password: YES". Once inside php myadmin you can change it.

Swela Jathar wrote:
#1045 - Access denied for user 'root'@'localhost' (using password: NO)


K. Tsang JavaRanch SCJP5 SCJD/OCM-JD OCPJP7 OCPWCD5
abani patra
Ranch Hand

Joined: Oct 11, 2011
Posts: 70
Hi,
Go the installation directory from there to phpmyadmin dir then edit config.inc.php for your username and password
.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Unable to login as root in Php My admin