Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I just installed mysql but not working

Status
Not open for further replies.

cs7536

Programmer
Apr 20, 2003
130
0
0
US
I just installed mysql andI can coonect remotly but my php script wont connect and retrieve data, now I know it is not a php issue, cause that works on other servers that I put the same database on.

I am on MySQL 4.1.10a Windows (x86)
running Apache 2.0.53 Win32 Binary
with PHP 4.3.10 Windows

does anybody have any idea.

Thanks in advance
Max




can't we all just get along

Max
 
create a php file and add only the following code to it:

Code:
<?php

php_info();

?>

Now view the page through your web browser. You will see a listing of items that are associated with php. IF you don't specifically see a section for mysql, then php is not aware that mysql is running.

You will have to tweak the php.ini file in order for it to work correctly.
 
there is a mysql listing in there, still nothing... hmmm
I have no idea what it could be. anymore ideas?

can't we all just get along

Max
 
seems like new version of mysql does not like to be put in a directory other than the default. as soon as I used the default everything worked.

can't we all just get along

Max
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top