Jump to content

Php mysql connection


jana

how to connect php 4.1.1 and mysql5.0  

  1. 1. how to connect php 4.1.1 and mysql5.0

    • yes
      0
    • no
      0


Recommended Posts

i have installed [b]phptriad and mysql 5.0[/b] when i tried to connect. it gives me the error message that.\
[color=red]
Warning: Client does not support authentication protocol requested by server; consider upgrading MySQL client in c:\apache\htdocs\testconnec.php on line 2.[/color]


and my src was simple

[color=yellow][color=red]$connec=mysql_connect('localhost', 'root', 'pwd')
or die("cannot connect to MySQL");[/color]
[/color]

can any one helpme to solve this problem.
Link to comment
https://forums.phpfreaks.com/topic/21955-php-mysql-connection/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.