MySQL Forums
Forum List  »  Newbie

Re: puh-lease help me!
Posted by: Nancy LaPoint
Date: July 20, 2005 07:12AM

k... I retyped the whole thing. I input localhost as the host, root as the user, and my password for the password. Still no luck. I'm about ready to give up and throw my copmuter out the window. Why did the php test work, but not this one?

<?php
$host="localhost";
$user="root";
$password="*******";
mysql_connect($host,$user,$password);
$sql="show status";
$result = mysql_query($sql);
if ($result == 0)
echo "<b>Error " .mysql_errno() . ": "
. mysql_error(). "</b>";
else
(
?>

Options: ReplyQuote


Subject
Written By
Posted
July 19, 2005 01:18PM
July 19, 2005 06:25PM
July 20, 2005 01:01AM
Re: puh-lease help me!
July 20, 2005 07:12AM
July 20, 2005 07:28AM
July 20, 2005 07:52AM
July 20, 2005 08:03AM
July 20, 2005 08:30AM
July 20, 2005 08:37AM
July 20, 2005 08:49AM
July 20, 2005 09:01AM
July 21, 2005 05:48AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.