Jump to content


Photo

MySQL 4.1 installation problem


  • Please log in to reply
4 replies to this topic

#1 Mungbeans

Mungbeans
  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 11 August 2006 - 11:03 AM

I have just upgraded MySQL from 4.0 to 4.1 and moved the data onto another disk.  It is running on its own without problems.

I have also updated to PHP5 and it is also running on my Apache 2.2 server without problems.

I cannot get MySQL to work with php5.  I have followed all the instructions at php.net, eg updated the PATH, extension_dir and uncommented the mysql extension so it will load.  I have checked and the dll is in the path specified. 

However attempts to connect to MySQL still fail without error.  Is there is there an exhaustive checklist somewhere I could check, or could some kind soul walk me through it so I can locate what is going wrong.

Any help would be appreciated. 



#2 fenway

fenway
  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 11 August 2006 - 04:04 PM

I don't know about a checklist, but don't you need the mysqli libraries for v5?
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.

#3 Mungbeans

Mungbeans
  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 12 August 2006 - 01:01 AM

I don't know.  I've never installed or used php5 before so I'm totally in the dark.  I don't even know what the 'mysqli libraries' are.  I'll have a google and see what I can find but I don't even know what the question is that I should be asking.  :-\

#4 Mungbeans

Mungbeans
  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 12 August 2006 - 01:04 AM

OK, found this:
http://www.devshed.c...h-PHP-5/<br />

I'll let you know if it leads me anywhere.

#5 Mungbeans

Mungbeans
  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 12 August 2006 - 01:50 AM

Well, I found the answer here:

http://www.notestips...2/1/TAIO-64MEGD

It was nothing obvious.  Once I'd moved the file libmysql.dll from the \php directory to \Apache2\bin  -  connectivity!





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users