Menu

Database connection error

Help
2006-08-08
2012-10-11
  • Walt Campbell

    Walt Campbell - 2006-08-08

    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

     
    • Walt Campbell

      Walt Campbell - 2006-08-08

      Never mind; problem solved.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.