PHP/mySQL - mysql_connect(): Warning Message

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default PHP/mySQL - mysql_connect(): Warning Message

    I am getting the following message when attempting to connect to a mySQL db in
    php: 'Warning: mysql_connect(): Client does not support authentication
    protocol requested by server; consider upgrading MySQL client ' I am using
    the following code: //////////////////////// <?php $Host = 'localhost'; $User =
    'bogusname'; $Password = 'boguspassword'; $DBName = 'bogus'; $Link =
    mysql_connect ($Host, $User, $Password); mysql_close ($Link); ?>
    //////////////////////// Any ideas on why I am getting this warning message?

    jip Guest

  2. Similar Questions and Discussions

    1. #40207 [NEW]: Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL ser
      From: arif at peshawaronline dot com Operating system: PHP version: 4.4.4 PHP Bug Type: Compile Warning Bug description: ...
    2. Problem with PHP and MySQL, mysql_connect fails.
      Hello! I have just installed Apache V2.0.52 with PHP V4.3.4 and MySQL V4.1.5 in windows xp, with service pack 2 installed. Apache and PHP...
    3. #25462 [Opn->Bgs]: mysql_connect() password not compatible with MySQL 4.1.x stronger passwords
      ID: 25462 Updated by: iliaa@php.net Reported By: sitbon at pdx dot edu -Status: Open +Status: Bogus...
    4. #25462 [NEW]: mysql_connect() password not compatible with MySQL 4.1.x stronger passwords
      From: sitbon at pdx dot edu Operating system: RedHat 9/MySQL 4.1.0 PHP version: 4.3.2 PHP Bug Type: MySQL related Bug...
    5. Warning Message
      Hi Everyone, I'll explain what I'm doing first. At the moment, I am doing a record search via a form. I like to know if it's possible to display...
  3. #2

    Default Re: PHP/mySQL - mysql_connect(): Warning Message

    [url]http://www.macromedia.com/go/c45f8a29[/url]

    --
    Ken Ford
    PVII Support Team
    [url]http://www.projectseven.com[/url]
    Team Macromedia Volunteer - Dreamweaver
    Certified Dreamweaver MX 2004 Developer


    "jip" <chopperkane@yahoo.com> wrote in message news:d1hjqj$lbt$1@forums.macromedia.com...
    >I am getting the following message when attempting to connect to a mySQL db in
    > php: 'Warning: mysql_connect(): Client does not support authentication
    > protocol requested by server; consider upgrading MySQL client ' I am using
    > the following code: //////////////////////// <?php $Host = 'localhost'; $User =
    > 'bogusname'; $Password = 'boguspassword'; $DBName = 'bogus'; $Link =
    > mysql_connect ($Host, $User, $Password); mysql_close ($Link); ?>
    > //////////////////////// Any ideas on why I am getting this warning message?
    >

    Ken Ford - *TMM* & PVII Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139