MySQL Forums
Forum List  »  Newbie

db name address and password format
Posted by: Greg M
Date: May 11, 2005 06:58AM

I am trying to use a mySQL databse on a remote server with a PHP script and i dont know how to get it to connect and log in with the user i have put in the database,
the PHP script is as follows...

$db = "enter_db_here";
$user = "enter_user_here";
$pass = "enter_pword_here";

i have tryed various things and i get differant error messages, like i have entered dbname@localhost and dbname on its own (dbname being the databse name) and various similer things with the username and password, does anyone one know how i can enter these things so that it work correctly, please help me! and ty in advance.

Greg

Options: ReplyQuote


Subject
Written By
Posted
db name address and password format
May 11, 2005 06:58AM


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.