Jump to content


Photo

mySQL problems not quite sure what!


  • Please log in to reply
1 reply to this topic

#1 thebiznes

thebiznes
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 08 March 2003 - 01:19 PM

I have recently setup a Red Hat Linux 8 Server with Apache Server mySQL (latest version) and php 4 installed on it.

Im trying to setup a program called phpAvailability its a calendar program for logging availability of rental houses.

However although i can login to mySQL through the command console, i get an error everytime i edit the config.php and try to access through the browser saying theres no password given.

The config file requires 4 variables to be set

$dbhost = \"localhost\";
$dbuser = \"your_mysql_username\";
$dbpass = \"your_mysql_password\";
$dbbase = \"your_mysql_database_name\";

these are all set correctly yet i still get this error. :?

Is there anything i have missed?

Im very new to this and any and all help will be appreciated

Thanks

Biz
*professionals are predictable, its the amateurs that are dangerous*

#2 shivabharat

shivabharat
  • Members
  • PipPipPip
  • Advanced Member
  • 371 posts
  • LocationChennai, India

Posted 08 March 2003 - 03:44 PM

Now check ur \"my.ini\" file and in that u have

user=admin
password=admin

now check the password field . Now if u have the password as blank then u havent set any password.

U can also clear the password with specific commands.....
Knowledge --- Reading Enriches Mind But Sharing Enhances It.[br][br]Note: Before you request help enusre that you have had a look at the tutorials @phpfreaks




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users