PHP MyAdmin

Taking care of your Linux box.
Post Reply
irfanbhatti
Havaldaar
Posts: 145
Joined: Fri Jun 03, 2005 12:19 pm
Location: Rawalpindi Islamabad
Contact:

PHP MyAdmin

Post by irfanbhatti »

Dear All
when i try to login

http://localhost/MyAdmin/
welcome Screen appears

#1045 - Access denied for user 'root'@'localhost' (using password: NO)
if give password
#1045 - Access denied for user 'root'@'localhost' (using password: YES)
Muhammad Irfan
03335246272
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

what happens when you type "mysql -u root -p" on the commandline? does the password work? if so, you need to type something like

Code: Select all

grant all on *.* to root@'127.0.0.1' identified by 'password' with grant option;
if it doesn't work, you're typing the wrong password.
Last edited by lambda on Fri Apr 13, 2007 12:23 am, edited 1 time in total.
irfanbhatti
Havaldaar
Posts: 145
Joined: Fri Jun 03, 2005 12:19 pm
Location: Rawalpindi Islamabad
Contact:

Post by irfanbhatti »

on mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: (YES)
Muhammad Irfan
03335246272
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

you make me so sad, irfanbhatti.
irfanbhatti
Havaldaar
Posts: 145
Joined: Fri Jun 03, 2005 12:19 pm
Location: Rawalpindi Islamabad
Contact:

Post by irfanbhatti »

lambda how
Muhammad Irfan
03335246272
barlas
Naib Subedar
Posts: 315
Joined: Mon Jun 30, 2003 11:07 am
Location: Lahore, Pakistan
Contact:

Post by barlas »

irfanbhatti, your root password is wrong.
Aqeel Zafar
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear irfanbhatti,
Salam,
irfanbhatti wrote:lambda how
What is your MySQL root password ?

Best Regards.
Farrukh Ahmed
Post Reply