Mysql_(p)connect error using PHP/Mysql

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

  1. #1

    Default RE: Mysql_(p)connect error using PHP/Mysql

    I am trying to get Dreamweaver to use PHP(5.0.3)/MySQL (4.1) and using an
    apache web server. Cool, BUT when i try to make my datrabase connection i get
    something like mysql_(p)connect error. When i looked onto the forum earlier
    someone suggested changing the mysql using:
    mysql> set password root@localhost = SET_PASSWORD ('password');
    Well that was just great not only did not fix the problem but i cannot log
    into the Mysql Administrator cause no password is excepted or something...
    Please help what the hell is the answer and solution to this, it's beeen going
    on for ages now.
    Regards, Ian

    longsdale Guest

  2. Similar Questions and Discussions

    1. Error In Using Perl To Connect To MySQL
      OS: Windows XP SP2 Perl version : v5.8.7 built for MSWin32-x86-multi-thread MySQL version : server: 5.0.21-community-nt MySQL version : client:...
    2. ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
      When i try to start my mysql server, i get this error ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'...
    3. MySql connect error
      I'm using CF MX7 (developer version) with MySQL 4.1.12 on Mac OSX Tiger. I have followed the instructions here:...
    4. MySQL on non standard port yields error 111 on connect
      I am trying to connect to MySQL running on a port other than 3306. Port 8123 in my case. I have tried this:...
    5. #25253 [Opn->Bgs]: mysql_{p}connect could use default parameters if supplied arguments are NULL
      ID: 25253 Updated by: georg@php.net Reported By: uhlar at fantomas dot sk -Status: Open +Status: ...
  3. #2

    Default Re: Mysql_(p)connect error using PHP/Mysql

    If it's any consolation, I am having the same problem Ian. Review the
    following site:
    [url]http://www.thriftyplaces.com/html/dreamweaver__mysql__php___apac.html[/url]. It has
    many suggestions on what to do about this common error. But I must admit, it
    did not work for me. You never know, it might work for you. Let me know if it
    works for you.

    Kate2005 Guest

  4. #3

    Default Re: Mysql_(p)connect error using PHP/Mysql

    Thanks i'll try this. But i'll still have trouble connecting if i can't re-set
    the password in MySQL. Once i changed the 'SET PASSWORD' parameter?? how can i
    change it back without uninstalling the whole thing and re-installing??
    Ian

    longsdale Guest

  5. #4

    Default Re: Mysql_(p)connect error using PHP/Mysql

    Ian,

    I have successfully connected to MySQL. I decided to use ColdFusion MX 6.1 to
    create a MySQL datasource. I had to upgrade from ColdFusion MX in order to
    connect to mysql. If you plan to use ColdFusion, I recommend the following web
    site:
    [url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19170[/url].


    Kate2005 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