p2p.wrox.com Forums

Need to download code?

View our list of code downloads.

  Return to Index  

beginning_php thread: can't creater an user account in the MySQL

Message #1 by "henry" <bg24254@y...> on Thu, 17 Oct 2002 22:06:49
i'm new to this database thing, i am following the sample in chatper 11 
from the beginning PHP book. on the page 393, i type following:
> mysql -uphpuser -pphppass -hdb.watever.com
the system give me this message
ERROR 2005: Unknown MySQL Server Host 'db.whatever.com' (11001)
how can i solve this problem?

any help is appreciated

Message #2 by "Nikolai Devereaux" <yomama@u...> on Mon, 21 Oct 2002 13:15:18 -0700
I hope by now you've figured it out... but just in case

-uphpuser -pphppass -hdb.whatever.com

are _not_ meant to be taken literally.  You should have a username and
password to log into a mysql server running on some machine.

replace phpuser with your username.
replace phppass with your password.
replace db.whatever.com with the hostname of the machine where your mysql
server is running.

take care,


  Return to Index