RE: FW: I really need help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You will have to find that information out through whoever your host is.
There is no one configuration for that.  

The first question to ask is did you create a MySQL database?  If you
did, then find out whatever the host was for doing that.  Many times,
your host will put it at mysql.___domainname___.com, so since you have
"spanishbyproz.com", you can probably try mysql.spanishbyproz.com.

-Logan 

> -----Original Message-----
> From: Stephen Hernandez [mailto:sjhernandez@xxxxxxxxxxxxxx]
> Sent: Sunday, April 29, 2007 7:29 PM
> To: php-general@xxxxxxxxxxxxx
> Subject:  FW: I really need help
> 
> I have literally just started using php and my sql so I really hope
> somebody can help me and I am addressing the right people as I don't
> want to be a pain in the neck. I have tested whether PHP is installed
> and running on the remote web server that hosts my website and it is
> running ok.
> Next I wanted to see if I could access MySQL using PHP.  I downloaded
a
> file from a Web site at janet.valade.com called mysql_up.php as it
> comes
> from a book she has written called PHP & MySQL for Dummies which is
the
> book I am using to learn - as you can tell I am right at the beginning
> :-) .
> I get an error message which relates  to lines 9, 10 and 11 of the
> program which are:
> $host="host";
> $user="mysqlaccount";
> $password="mysqlpassword";
> 
> These were the values I had to change which I guess is where the
> problem
> is. I was supposed to change host to the name of the computer where
> MySQL is installed. But I do not know what name I should put, the name
> of my site is spanishbyproz.com. In the example Janet uses she puts
> datebasehost.mycompany.com . What should I write for host ?
> 
> I would really appreciate any advice and am sorry it is such a basic
> question.
> 
> Many thanks in advance,
> 
> Steve

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux