Using the MySQL database with GNU Enterprise
============================================


Setting up the permissions on the database server
-------------------------------------------------

Enter the mysql database using the 'mysql' tool and create a privileged account
for your user:

  GRANT ALL PRIVILEGES ON *.* TO '<user>'@'%' IDENTIFIED BY '<pwd>';
  GRANT ALL PRIVILEGES ON *.* TO '<user>'@'localhost' IDENTIFIED BY '<pwd>';

(replace <user> with your username and <pwd> with your database password)
(the second grant will be needed for local access)

To automate access control, you can add a file "~/.my.cnf" with the following
contents:

  [mysqladmin]
  user = <user>
  password = <pwd>

  [mysql]
  user = <user>
  password = <pwd>

(replace <user> with your username and <pwd> with your database password)
Please make sure this file has mode 0600 :)
