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
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.