Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > PHP Databases
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
PHP Databases Using PHP in conjunction with databases. PHP questions not specific to databases should be directed to one of the other PHP forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP Databases section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 5th, 2004, 05:53 PM
Registered User
 
Join Date: Jun 2004
Location: Mundelein, IL, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to jehchoi1
Default Need Help Connecting to mySQL Database!

Can someone tell me why I am getting this message:

"Client does not support authentication protocol requested by server; consider upgrading MySQL client"

System Setup:
Running Apache 2 with PHP 4.3.9 on Windows XP
and mySQL 4.1.7

PHP Code Used:
mysql_connect("localhost", "userid", "password") or
die(mysql_error());

Any help will be appreciated
Thanks
Reply With Quote
  #2 (permalink)  
Old November 6th, 2004, 08:02 AM
Friend of Wrox
 
Join Date: Mar 2004
Location: Bhopal, MP, India.
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anshul
Default

u may try Win2000 Pro/Server or Win2003 :)
Reply With Quote
  #3 (permalink)  
Old November 6th, 2004, 09:47 AM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Although I haven't heard of the error you're talking about, using a Microsoft server will not overcome it.

Check out the docs and mailing lists at http://www.mysql.com. I'm sure someone there has a clue of what's happening.

Regards,
Rich

--
[http://www.smilingsouls.net]
[http://pear.php.net/Mail_IMAP] A PHP/C-Client/PEAR solution for webmail
Reply With Quote
  #4 (permalink)  
Old February 2nd, 2005, 04:13 PM
Registered User
 
Join Date: Aug 2004
Location: , , Canada.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

try to set register_globals to On and try it.

Reply With Quote
  #5 (permalink)  
Old February 26th, 2005, 11:08 AM
Authorized User
 
Join Date: Jan 2005
Location: ipaja, lagos, Nigeria.
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to p2ptolu Send a message via Yahoo to p2ptolu
Default

mysql on my system works alone but can not connect to php, i use php4 and mysql 4.1 on apache 1.33 all om win xp pro,please help me too.

Reply With Quote
  #6 (permalink)  
Old April 16th, 2005, 03:34 PM
Registered User
 
Join Date: Apr 2005
Location: miami, fl, USA.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, I did set up my password by using :
"set password for root@loacalhost=password('your_password');
log out "\q", and then log back with:
mysql -u root -p,
prompts for password! 'yourpassword'
and then I get the wellcome monitor screen.
then I make sure I place the same password in my PHP script, at hte
mysql_connect () function.
and I now get : Can't create database 'wiley'. Database exists.
My hole next week will be dvoted to this message NOW..
Reply With Quote
  #7 (permalink)  
Old April 21st, 2005, 09:28 AM
Friend of Wrox
 
Join Date: Dec 2004
Location: London, London, United Kingdom.
Posts: 154
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ho yes, I tried to do that I remember; Then I decided that a better use of my time was to use an internet host.


Reply With Quote
Reply


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help connecting to mysql database catalog ajrobson Servlets 0 December 28th, 2006 04:24 PM
Connecting to MySQL Database from VB2005 Tank Pro VB Databases 0 January 23rd, 2006 04:46 PM
database connecting with java &mysql rakeshkumar MySQL 1 February 4th, 2005 11:59 AM
Connecting to mySQL WIx ASP.NET 1.0 and 1.1 Basics 3 October 17th, 2004 04:13 PM
Connecting Access2000 to MySQL Database Rood67 Access 4 May 20th, 2004 12:49 PM



All times are GMT -4. The time now is 08:42 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.