]> git.donarmstrong.com Git - infobot.git/commitdiff
- hrm... forgot to update local copy before I can commit. Silly me.
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Sat, 2 Feb 2002 09:30:05 +0000 (09:30 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Sat, 2 Feb 2002 09:30:05 +0000 (09:30 +0000)
  Thanks to Joey Smith for notifying me.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@547 c11ca15a-4712-0410-83d8-924469b57eb5

INSTALL.mysql

index 2c0f5845b9909510393b5f14c5bd4dea295dac2c..9e816db446e23054ea3b3fd58beceac6e09a2fb4 100644 (file)
@@ -5,14 +5,23 @@ INSTALL.mysql
 - Debian: (apt-get install libdbd-mysql-perl)
 
 - run 'mysqladmin -u root -p create <DB NAME>'
-- run 'scripts/setup_users.pl'
+- run 'setup/setup.pl'
 = Possible problems
        - if connection to localhost is (short) refused, run
                '/etc/init.d/mysql stop'.
                '/etc/init.d/mysql start'.
        - if connection for user is refused, reload grant tables with
                'mysqladmin -u root -p reload'
-- run 'scripts/setup_tables.pl'
 * [OPTIONAL]
        - run 'scripts/dbm2mysql.pl old-db' to convert dbm database file
          to mysql.
+
+ADDITIONAL NOTES:
+ HOW TO ADD NEW USER MANUALLY
+    CREATE DATABASE @DBNAME@
+    INSERT INTO user VALUES ('localhost','@USER@',password('@PASS@'),
+       'Y','Y','Y','Y','N','N','N','N','N','N','N','N','N','N');
+    INSERT INTO db VALUES ('localhost','@DBNAME@','@USER@',
+       'Y','Y','Y','Y','Y','N','N','N','N','N');
+    GRANT SELECT,INSERT,UPDATE,DELETE ON @DBNAME@ TO @USER@
+    FLUSH PRIVILEGES