SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    May 2010
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Build your own database driven website chpt 4

    I am very new to this - doing a volunteer website for charity border collie rescue group - so I appreciate patience with my ignorance on this!

    I get this error:
    Warning: mysqli_connect() [function.mysqli-connect]: Headers and client library minor version mismatch. Headers:50051 Library:50146 in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\index.php on line 3

    Here is line 3 of my code:
    $link = mysqli_connect('localhost', 'root', 'mypwhere');

    After the error msg above- I got the 'successful connection to database' msg

  2. #2
    SitePoint Wizard guelphdad's Avatar
    Join Date
    Oct 2003
    Location
    St. Catharines, ON Canada
    Posts
    1,707
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That isn't a mysql error. It has to do with your apache server or php code.

  3. #3
    SitePoint Member
    Join Date
    May 2010
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok - someone emailed me and told me to post the question at this link ... so I guess I'll find a different forum???? Thanks .. I am new to this and trying to find my way around!

  4. #4
    SitePoint Wizard guelphdad's Avatar
    Join Date
    Oct 2003
    Location
    St. Catharines, ON Canada
    Posts
    1,707
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Did you search the web for that specific message or similar message? it isn't likely you are the first one to run into it. Sounds like one part of your application is up-to-date and another isn't.

    But the database itself isn't the issue. To be more concise with getting help you should let folks know what platform/computer type you are running this on and whether or not you installed the software on the computer and if you know, which version of php, apache and mysql (each application) you are running.

  5. #5
    SitePoint Member
    Join Date
    May 2010
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    THANKS! that gives me somewhere to start. I wondered if it was a difference in versions - I think the book has an errata page and mentions that .. I'll try reloading Apache.


Bookmarks

Posting Permissions

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