aspose file tools
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
Register / Login
JavaRanch » Java Forums » Languages » PHP
Reply 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
Ranch Hand

Joined: Sep 13, 2007
Posts: 1222

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
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
.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Unable to login as root in Php My admin
 
Similar Threads
Unable to open the service Tomcat5
authentication failed weblogic 7 SP2
connecting JSP(resin) to MYSQL with out root
LDAP - Allowing user to change his own attributes
Login ID and Password for WebSphere admin console