Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 13-03-2005, 07:41 AM   #1 (permalink)
In The Zone
 
tuXian's Avatar
 
Join Date: Nov 2004
Location: Hyderabad
Posts: 364
Default .:: Help Urgent - Cant Login to PhpMyAdmin ::.


When I open the index.php of phpMyAdmin it first gave a msg ccess denied for user 'root'@'localhost' (using password: NO).

I specified username and password in config.inc.php but this time I got this message : #1251 - Client does not support authentication protocol requested by server; consider upgrading MySQL client

I then changed the auth type from config to http only to get a login box, where I specied the username as root and then its password. The login dialog appeared 3 times and finally got a page that said username/pwd wrong. I am entering correct pwd.

I have checked mySQL is running. I am using Apache_2.0.53-win32-x86-no_ssl, php-4.3.10 , phpMyAdmin 2.6.1-pl3 and when it disnt work used 2,7pl1 also with IE 5 and Mozilla Firefox.

can someone plz help me.
__________________
You know it's love when you memorize her IP to skip DNS overhead.
tuXian is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 13-03-2005, 11:00 AM   #2 (permalink)
Wise Old Owl
 
enoonmai's Avatar
 
Join Date: Oct 2004
Location: Parked diagonally in a parallel universe
Posts: 1,304
Default

LOL, they are sister error messages and one of the most feared ones in mySQL.

What you did was right, but there's a little bit more to it. Before you do anything else, remove the changes you made to the config.inc.php file and remove the password you put in and make it the way it was before. Then if you have access to the server or the mySQL admin program, then edit the my.ini file and then change

#Use old password encryption method (needed for 4.0 and older clients).
old_passwords

# The TCP/IP Port the MySQL Server will listen on
port=3306


Save the file and close it and then connect to the mySQL server and then change the password from (none) to something else.

Now edit the config.inc.php file to make the following changes:

$cfg['PmaAbsoluteUri'] = 'localhost/phpmyadmin/';

$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = 'your new password'; // MySQL password


and change the auth_type back to 'config'. That should fix your problem.

EDIT: Be warned that the changes will take effect only at the next restart of Apache and mySQL.
__________________
Face it, kid! Provoking a reaction isn't the same thing as saying something significant - Calvin
A64 3000+@2.4G/Asus A8V-DLX/1G DDR400/BBA X800 XT PE/320G HGST SATA2
Playing FEAR XP/LSW2
enoonmai is offline  
Old 13-03-2005, 11:13 AM   #3 (permalink)
Version 2.0
 
Deep's Avatar
 
Join Date: Jan 2004
Location: Mumbai
Posts: 977
Default

this is what google told me..

http://www.openwin.org/mike/faq/faq....col-requested/

Deep
__________________
- Deep Ganatra -
www.whoisdeep.com
www.twitter.com/DeepXP/
Deep is offline  
Old 13-03-2005, 04:24 PM   #4 (permalink)
In The Zone
 
tuXian's Avatar
 
Join Date: Nov 2004
Location: Hyderabad
Posts: 364
Default

Now I am getting this error message

#1045 - Access denied for user 'root'@'localhost' (using password: YES)
__________________
You know it's love when you memorize her IP to skip DNS overhead.
tuXian is offline  
Old 13-03-2005, 04:42 PM   #5 (permalink)
Wise Old Owl
 
enoonmai's Avatar
 
Join Date: Oct 2004
Location: Parked diagonally in a parallel universe
Posts: 1,304
Default

Reset the password by logging into your cPanel/WHM at ports 2086/2087, ie,
http://www.yoursite.com:2086
or
https://www.yoursite.com:2087

and then click, "Set MySQL Root Password" under "Server Setup". You may get error messages again when setting the password. If you do, click the "Set MySQL Root Password" link again, and set the password again - using the same password. The second time, you should not get the errors, indicating that the password has been successfully changed.
__________________
Face it, kid! Provoking a reaction isn't the same thing as saying something significant - Calvin
A64 3000+@2.4G/Asus A8V-DLX/1G DDR400/BBA X800 XT PE/320G HGST SATA2
Playing FEAR XP/LSW2
enoonmai is offline  
Old 13-03-2005, 04:55 PM   #6 (permalink)
In The Zone
 
tuXian's Avatar
 
Join Date: Nov 2004
Location: Hyderabad
Posts: 364
Default

Oh! I forgot to mention its on my local system i.e Win2k Pro with Apache and other s/w as mentioned in the parent post.(see above)
__________________
You know it's love when you memorize her IP to skip DNS overhead.
tuXian is offline  
Old 13-03-2005, 05:07 PM   #7 (permalink)
Wise Old Owl
 
enoonmai's Avatar
 
Join Date: Oct 2004
Location: Parked diagonally in a parallel universe
Posts: 1,304
Default

ROTFL! That part I totally missed. Ok, in that case, the most important thing you need to do, is that you need to follow the steps I put up earlier and then change the root password to (none) and then repeat the steps. Once you're done, change the root password to something other than (none) and then first shut down Apache, then mySQL, then start up Apache first again, followed my mySQL. If you dont do this in the same order, you will keep facing this error message over and over again. You might have to use services.msc to restart the services on your Windows 2000 machine. Its very important that you follow the order of Apache first, then mySQL.
__________________
Face it, kid! Provoking a reaction isn't the same thing as saying something significant - Calvin
A64 3000+@2.4G/Asus A8V-DLX/1G DDR400/BBA X800 XT PE/320G HGST SATA2
Playing FEAR XP/LSW2
enoonmai is offline  
Old 13-03-2005, 05:16 PM   #8 (permalink)
In The Zone
 
tuXian's Avatar
 
Join Date: Nov 2004
Location: Hyderabad
Posts: 364
Default

BTW while in the setup I specified the root password so wheres the question of pwd being none
__________________
You know it's love when you memorize her IP to skip DNS overhead.
tuXian is offline  
Old 13-03-2005, 06:06 PM   #9 (permalink)
Wise Old Owl
 
enoonmai's Avatar
 
Join Date: Oct 2004
Location: Parked diagonally in a parallel universe
Posts: 1,304
Default

Use mySQL admin to change your root password or login to the mySQL server and at the command prompt type:

> mysql -u root mysql
> UPDATE user SET password=password(’newpassword’) WHERE user=’root’;

or just enter

>SET PASSWORD = PASSWORD(’newpassword’);


If you want, include a flush privileges once you change the root password.
__________________
Face it, kid! Provoking a reaction isn't the same thing as saying something significant - Calvin
A64 3000+@2.4G/Asus A8V-DLX/1G DDR400/BBA X800 XT PE/320G HGST SATA2
Playing FEAR XP/LSW2
enoonmai is offline  
Old 13-03-2005, 06:14 PM   #10 (permalink)
Version 2.0
 
Deep's Avatar
 
Join Date: Jan 2004
Location: Mumbai
Posts: 977
Default

EDIT: aah didnt notice that you already replied hehe

Quote:
Originally Posted by tuxian
BTW while in the setup I specified the root password so wheres the question of pwd being none
in mysql...

get into mysql using command line...

go to mysql dir using dos

type

mysql - u (your username) -p

it will ask for password in next line..

enter it...

and in next line type this

SET password for 'root' = 'YourNewPassword';

now there can be root@localhost or root@%

i have deleted accounts other than root on my local machine so for me username will be root, for you it can be root@localhost...

Deep
__________________
- Deep Ganatra -
www.whoisdeep.com
www.twitter.com/DeepXP/
Deep is offline  
Old 13-03-2005, 06:18 PM   #11 (permalink)
In The Zone
 
tuXian's Avatar
 
Join Date: Nov 2004
Location: Hyderabad
Posts: 364
Default

MySQL and phpMyAdmin are up and running and I have just installed Phpbb 2.0.13.

A big thanks to both of you.
__________________
You know it's love when you memorize her IP to skip DNS overhead.
tuXian is offline  
Old 13-03-2005, 06:27 PM   #12 (permalink)
Wise Old Owl
 
enoonmai's Avatar
 
Join Date: Oct 2004
Location: Parked diagonally in a parallel universe
Posts: 1,304
Default

You're welcome, but are you familiarizing yourself with mySQL, Apache, etc. or are you hosting the server straight off your home computer?
__________________
Face it, kid! Provoking a reaction isn't the same thing as saying something significant - Calvin
A64 3000+@2.4G/Asus A8V-DLX/1G DDR400/BBA X800 XT PE/320G HGST SATA2
Playing FEAR XP/LSW2
enoonmai is offline  
Old 13-03-2005, 06:46 PM   #13 (permalink)
In The Zone
 
tuXian's Avatar
 
Join Date: Nov 2004
Location: Hyderabad
Posts: 364
Default

Yeah! I am familiarizing myself with all these and not at all hosting from my home computer. I have sep web space on Linux Server with MySQL and all the other goodies.
__________________
You know it's love when you memorize her IP to skip DNS overhead.
tuXian is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by tkin
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 05:22 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2