On Fri, 3 Dec 1999, Todd Hammer wrote:

>   mysql> INSERT INTO user (Host,User,Password) VALUES
>          ('localhost','midgard',Password('midgard'));
>        
>   mysql> INSERT INTO db (Host,User,Db,Select_priv,Insert_priv,
>                          Update_priv,Delete_priv)
>          VALUES ('localhost','midgard','midgard','Y','Y','Y','Y');
> 
>   mysql> FLUSH PRIVILEGES; 
> 
> then I can only access my pages locally, not over the network
> My question is, shouldn't I be able to replace 'localhost' with '%' so
> that access is allowed from anywhere?

The instructions above set up permission for midgard to use the
database. You still need to set up the midgard database seperately;
the instructions are in the same README file that has the instructions
above. The hostnames for the sites are in that database in the 'host'
table.

$ echo "select * from host;" | mysql -umidgard -pmidgard midgard

if you haven't changed the defaults yet (which is advisable, BTW).

Bye,
Emile


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to