Services Blog Guides Downloads FOSS


Subscribe to our email list!
Latest Articles
  • New Blog!
  • Striker Tech News Site Updated
  • Technology Services
  • SynergyBugs2
  • SynergyBugs
  • SynergyBugs Reborn
  • Install Subversion on Linux
  • Quick and dirty guide to installing a LAMPP Server
  • Firefox 3.5 Download
  • Pacific West Painting Web Site Launched
  • Guide to Enabling Internet Tethering on iPhone 3.0
  • Virtual Assistant
  • Download Microsoft Vista Service Pack 2
  • jQuery and TinyMCE
  • ConejoLive.com Launches


PHP and MySQL Error

20
+0
2
Close
Loading...
Loading...

This article specifically applies if your Dreamweaver cannot see the tables in your MySQL database or you are getting the error "Client does not support authentication protocol requested by server; consider upgrading MySQL client" when you look at a php page in a web browser served from a Windows 2000, XP or 2003 Server.

Whenever I am re-installing my computer and need to re-install php for development I need to make this change. It is a complete pain in the butt, but since Dreamweaver doesn't support any new connection types I am stuck having to hunt through the internet for the fix below. So I just thought, hey why not just compile the fix so next time I don't need to dig and dig for it.

Without further ado...

Log into the MySQL server from DOS. So that means login to the physical machine that is running the MySQL database. To do this, click Start then Run. Change the directory to where you MySQL bin is.

For example:

cd c:\Program Files\MySQL\MySQL Server 5.0\bin

Then log into the MySQL Server shell.

For example:

c:\Program Files\MySQL\MySQL Server 5.0\bin\mysql -u root -p

From here you will see

mysql>

Now all you need to type is:

mysql> SET PASSWORD FOR 'root'@'localhost' = OLD_PASSWORD('password');

NOTE: Make sure you end the above with a ";"!!! Then hit "ENTER" on your keyboard. If it works you will see:

Query OK, 0 rows affected (0.01 sec)

 

And presto change-o you can now log into your server without getting that error!



I have been looking for a step by step on this forever.

Thanks!

Posted by Trent
Posted Jul 1, 2006

dude you rock!

thnx 

Posted by Computerkiller
Posted Jan 23, 2007
© SynergyMX, Inc. 1336 N. Moorpark Rd, Suite 163, Thousand Oaks, Ca, 91360