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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

After Installation, Mysql has no activity.

Status
Not open for further replies.

alesisdrummer

Technical User
Nov 22, 2002
6
US
I installed Apache, PHP, and Mysql for a local PHP scripting environment. Apache works great, PHP works great. Then I added this bit of code to sort of "Test" Mysql.

<?php
echo '<p>Hello</p>';
echo mysql_connect ('localhost', 'mongoose', 'mongoose');
?>

and I put the echo tag in so that it would print the status of the mysql connection, but it just didn't print, but the Hello was parsed. It seems as if there is just no mysql activity whatsoever. Any Ideas?
 
yes, look in the php manual for the mysql area. go with a standard test script from there and you will know more or less if mysql is working.

really your question belongs in a php forum as the problem will be php related and not mysql related if you already have your mysql server running.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top