I'm trying and failing to get PhpWiki up and running. I'm using a My SQL database, FWIW.
Here's the error message I get when trying to run the wiki . . .
Fatal Error:
lib/WikiDB/backend/PearDB.php:59: Error: Can't connect to database: wikidb_backend_peardb_mysql: fatal database error
* DB Error: connect failed
* ( [nativecode=Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)] ** mysql://guest@unix(/var/lib/mysql/mysql.sock)/tpwc_wiki)
*
From the instructions, it seemed that all I needed to do when editing the config file was to specify the name of the My SQL database, which I did (twpc_wiki).
Can anyone shed light on the problem and suggest a fix? I'm in a bit over my head, as I a definite database neophyte.
Thanks much for any help you can offer!
Walt
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying and failing to get PhpWiki up and running. I'm using a My SQL database, FWIW.
Here's the error message I get when trying to run the wiki . . .
Fatal Error:
lib/WikiDB/backend/PearDB.php:59: Error: Can't connect to database: wikidb_backend_peardb_mysql: fatal database error
From the instructions, it seemed that all I needed to do when editing the config file was to specify the name of the My SQL database, which I did (twpc_wiki).
Can anyone shed light on the problem and suggest a fix? I'm in a bit over my head, as I a definite database neophyte.
Thanks much for any help you can offer!
Walt
Never mind; problem solved.