[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] OT: MySQL
- Subject: Re: [cobalt-users] OT: MySQL
- From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Thu Jun 21 23:26:02 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
"Andy Jacobs" <andy@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> $hostname = "http://www.mydomain.net;
Do not include the protocol "http://" in the hostname.
> MYSQL_CONNECT($hostname,$username,$password) OR DIE("Unable to connect to
> database");
Also check that in the db "mysql" the proper privileges are setup in the
tables "user" and "db" to allow access from that site. Use GRANT syntax or
INSERT/UPDATE followed by "FLUSH PRIVILEGES";
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/