Who had mysql problems?

Jerry McBride mcbrides9
Mon May 17 11:46:23 PDT 2004


It just dawned on me...

An extremely easy way to insert a user is... modify the "mysql_install_db"
script where it set's up the user database. Just copy on of the "root" user
lines and edit for your specific needs then run the script. Bingo...

I haven't done this on a production mysql setup, so I'm not sure if it re-writes
the entire user database. I assume it does so make sure you've got backups
before you play.


-- 

******************************************************************************
                     Registered Linux User Number 185956
          http://groups.google.com/groups?hl=en&safe=off&group=linux
             Join me in chat at #linux-users on irc.freenode.net
This email account no longers accepts attachments or messages containing html.
    8:06pm  up 92 days, 40 min,  3 users,  load average: 0.28, 0.18, 0.09


More information about the Linux-users mailing list