blob: d00fd34602cc1b9bc40eb44d5f3da5aab0d0a0e3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
==============================================================================
1) Add the 'mysqlar' user with USAGE privileges to your mysql server:
$ mysql -u root -p mysql
mysql> GRANT USAGE ON *.* TO mysqlar@localhost;
mysql> FLUSH PRIVILEGES;
2) Add the mysqlard crontab to root's crontab:
*/5 * * * * /usr/bin/env hourly=1 daily=1 weekly=1 monthly=1 \
%%PREFIX%%/bin/mysqlar_graph > /dev/null
3) Add a line like this to your apache's httpd.conf:
Alias /mysqlar/ %%PREFIX%%/www/mysqlard/
<Directory "%%PREFIX%%/www/mysqlard">
Options Indexes FollowSymLinks MultiViews ExecCGI
AllowOverride All
Order allow,deny
Allow from all
DirectoryIndex mysqlar.php
</Directory>
==============================================================================
|