473,388 Members | 1,496 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

How to get MySQL to work with PHP?

Hi,
I'm trying to set up a connection to MySQL on my home network.
MySQL seems to be working all right, I've created accounts, databases and
tables, etc.

PHP-version 4.3.9, and according to phpinfo() no configure command.

If I execute the command:

$db = mysql_connect ('localhost', 'root', 'xxxxxx') or die ("Unable to
connect to Database Server");

then the following error message appears:

Warning: mysql_connect(): Client does not support authentication protocol
requested by server; consider upgrading MySQL client in test.php on line 3
Unable to connect to Database Server.

Suggestions please, Marcel

Jul 17 '05 #1
2 1667
On Sat, 04 Dec 2004 00:45:24 GMT, "Marcel" <in**@nospam-bluegumdata.com.au>
wrote:
Hi,
I'm trying to set up a connection to MySQL on my home network.
MySQL seems to be working all right, I've created accounts, databases and
tables, etc.

PHP-version 4.3.9, and according to phpinfo() no configure command.

If I execute the command:

$db = mysql_connect ('localhost', 'root', 'xxxxxx') or die ("Unable to
connect to Database Server");

then the following error message appears:

Warning: mysql_connect(): Client does not support authentication protocol
requested by server; consider upgrading MySQL client in test.php on line 3
Unable to connect to Database Server.

Suggestions please, Marcel


http://www.google.com/search?hl=en&c...col%22&spell=1

--
Andy Hassall / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Jul 17 '05 #2
Thank you, I had seen the suggestion of resetting the password to 'pre
4.1-style', but since I'm using 4.1.7 myself, I thought it wasn't the answer
to my particular problem...

"Andy Hassall" <an**@andyh.co.uk> wrote in message
news:ig********************************@4ax.com...
On Sat, 04 Dec 2004 00:45:24 GMT, "Marcel" <in**@nospam-bluegumdata.com.au> wrote:
Hi,
I'm trying to set up a connection to MySQL on my home network.
MySQL seems to be working all right, I've created accounts, databases and
tables, etc.

PHP-version 4.3.9, and according to phpinfo() no configure command.

If I execute the command:

$db = mysql_connect ('localhost', 'root', 'xxxxxx') or die ("Unable to
connect to Database Server");

then the following error message appears:

Warning: mysql_connect(): Client does not support authentication protocolrequested by server; consider upgrading MySQL client in test.php on line 3Unable to connect to Database Server.

Suggestions please, Marcel

http://www.google.com/search?hl=en&c...refox-a&rls=or
g.mozilla:en-US:official&q=%22client+does+not+support+authentic ation+protoco
l%22&spell=1
--
Andy Hassall / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool

Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Donald Tyler | last post by:
Then the only way you can do it that I can think of is to write a PHP script to do basically what PHPMyAdmin is trying to do but without the LOCAL in there. However to do that you would need to...
0
by: Mike Chirico | last post by:
Interesting Things to Know about MySQL Mike Chirico (mchirico@users.sourceforge.net) Copyright (GPU Free Documentation License) 2004 Last Updated: Mon Jun 7 10:37:28 EDT 2004 The latest...
11
by: DJJ | last post by:
I am using the MySQL ODBC 3.51 driver to link three relatively small MySQL tables to a Microsoft Access 2003 database. I am finding that the data from the MySQL tables takes a hell of a long time...
74
by: John Wells | last post by:
Yes, I know you've seen the above subject before, so please be gentle with the flamethrowers. I'm preparing to enter a discussion with management at my company regarding going forward as either...
175
by: Sai Hertz And Control Systems | last post by:
Dear all, Their was a huge rore about MySQL recently for something in java functions now theirs one more http://www.mysql.com/doc/en/News-5.0.x.html Does this concern anyone. What I...
1
by: Good Man | last post by:
Hi there I've noticed some very weird things happening with my current MySQL setup on my XP Laptop, a development machine. For a while, I have been trying to get the MySQL cache to work....
4
by: Vanessa | last post by:
Hi there I am an Access developer, and I have written applications for a 30 telephone call center, using the standard multiuser jet engine, it all works fine, but I want to move our systems onto...
1
by: Lennie De Villiers | last post by:
Hi, I'm running PHP 4.4.2 and mySQL on MS Windows XP Home Edition in IIS 6.0. When I try to connect to mySQL from PHP I get the following error message: Warning: mysql_connect(): Client does...
6
Atli
by: Atli | last post by:
This is an easy to digest 12 step guide on basics of using MySQL. It's a great refresher for those who need it and it work's great for first time MySQL users. Anyone should be able to get...
39
by: alex | last post by:
I've converted a latin1 database I have to utf8. The process has been: # mysqldump -u root -p --default-character-set=latin1 -c --insert-ignore --skip-set-charset mydb mydb.sql # iconv -f...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.