Jump to content

Archived

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

Mungbeans

MySQL 4.1 installation problem

Recommended Posts

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. 

Share this post


Link to post
Share on other sites
I don't know about a checklist, but don't you need the mysqli libraries for v5?

Share this post


Link to post
Share on other sites
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.  :-\

Share this post


Link to post
Share on other sites
OK, found this:
[url=http://www.devshed.com/c/a/MySQL/Performing-Basic-Tasks-with-MySQL-4-and-Above-using-mysqli-with-PHP-5/]http://www.devshed.com/c/a/MySQL/Performing-Basic-Tasks-with-MySQL-4-and-Above-using-mysqli-with-PHP-5/
[/url]

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

Share this post


Link to post
Share on other sites
Well, I found the answer here:

[url=http://www.notestips.com/80256B3A007F2692/1/TAIO-64MEGD]http://www.notestips.com/80256B3A007F2692/1/TAIO-64MEGD[/url]

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

Share this post


Link to post
Share on other sites

×

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.