Update README.md
* added required pushpool database configuration
This commit is contained in:
parent
da6bcb1c48
commit
28c70a2c14
19
README.md
19
README.md
@ -85,6 +85,25 @@ Please create the `mmcfe-ng/public/include/config/global.inc.php`
|
||||
configuration from the supplied template
|
||||
`mmcfe-ng/public/include/config/global.inc.dist.php`.
|
||||
|
||||
Pushpoold
|
||||
---------
|
||||
|
||||
Please ensure the passwords are read from the proper table by adding this to your configuration:
|
||||
|
||||
# database settings
|
||||
"database" : {
|
||||
"engine" : "mysql",
|
||||
"port" : "3306",
|
||||
"name" : "mmcfeng_database_name",
|
||||
"username" : "someuser",
|
||||
"password" : "somepass",
|
||||
"sharelog" : true,
|
||||
"stmt.pwdb":"SELECT `password` FROM `workers` WHERE `username` = ?",
|
||||
"stmt.sharelog":"INSERT INTO shares (rem_host, username, our_result, upstream_result, reason, solution) VALUES (?, ?, ?, ?, ?, ?)"
|
||||
},```
|
||||
|
||||
```
|
||||
|
||||
Database
|
||||
========
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user