[ale] mysql and gallery2? (creating users)

Robert L. Harris Robert.L.Harris at rdlg.net
Wed Sep 14 11:42:54 EDT 2005



Great,  thanks.

Looks like part of it was I had the ' around username and host screwed
up.  Also mysql binds to localhost only by default which doesn't work
with the database on one system and web server on another.

Robert

Thus spake Christopher Coleman (Christopher.Coleman at nsc.com):

> mysql> GRANT ALL PRIVILEGES on database_name.* to username@'%';"
> mysql> SET PASSWORD FOR username@'%' = PASSWORD( 'password' );"
> mysql> FLUSH PRIVILEGES;"
> mysql> SHOW GRANTS FOR username@'%';"
> 
> Robert L. Harris wrote:
> >
> >  Has anyone set up a fresh mysql database for use with gallery2?  I'm
> >trying to set it up and mysql isn't happy with my user creation
> >commands?  Anyone have a typescript or HOWTO for creating a user?  I
> >have notes on creating databases, etc...
> >
> >
> >:wq!
> >---------------------------------------------------------------------------
> >Robert L. Harris                     | GPG Key ID: E344DA3B
> >
> >DISCLAIMER:
> >      These are MY OPINIONS             "We can't solve problems by using
> >       ALONE.  I speak for                the same kind of thinking we used
> >       no-one else.                         when we created them."
> >                                          - Einstein
> >
> >
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >Ale mailing list
> >Ale at ale.org
> >http://www.ale.org/mailman/listinfo/ale


> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale

:wq!
---------------------------------------------------------------------------
Robert L. Harris                     | GPG Key ID: E344DA3B

DISCLAIMER:
      These are MY OPINIONS             "We can't solve problems by using
       ALONE.  I speak for                the same kind of thinking we used
       no-one else.                         when we created them."
                                          - Einstein

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature




More information about the Ale mailing list