Skip to content
Snippets Groups Projects
Commit 1ac18d00 authored by Danny Auble's avatar Danny Auble
Browse files

added example to the mysql configuration

parent 0941ed14
No related branches found
No related tags found
No related merge requests found
...@@ -303,6 +303,30 @@ Define the name of the user we are going to connect to the database ...@@ -303,6 +303,30 @@ Define the name of the user we are going to connect to the database
with to store the job accounting data.</li> with to store the job accounting data.</li>
</ul> </ul>
<h2>MySQL Configuration</h2>
<p>While SLURM will create the database automatically you will need to
make sure the StorageUser is given permissions in MySQL to do so.
As the <i>mysql</i> user grant privileges to that user using a
command such as
<pre>
GRANT ALL ON slum_acct_db.* TO 'StorageUser'@'localhost';
live example:
mysql@snowflake:~$ mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 538
Server version: 5.0.51a-3ubuntu5.1 (Ubuntu)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> grant all on slurm_acct_db.* TO 'da'@'localhost';
Query OK, 0 rows affected (0.00 sec)
</pre>
This will grant user 'da' access to do what he needs to do on the
local host.
<h2>Tools</h2> <h2>Tools</h2>
<p>There are a few tools available to work with accounting data, <p>There are a few tools available to work with accounting data,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment