From: Philip J. H. <ph...@ho...> - 2003-07-05 20:24:03
|
Are you running mysql version 4.x? The install instructions have changed slightly because there are changes in how mysql security works with locks. Check the phpwiki main site and search for mysql - someone has posted the corrected instructions there. Basically you need to run some mysql grant commands to permit the phpwiki users to set locks. P. On 07/05/03, Nick Hudson wrote: > Greetings, > > I downloaded and installed phpwiki 1.3.4 and when I go to the main page > I get this error: > > > lib/WikiDB/backend/PearDB.php:681: Fatal[256]: wikidb_backend_mysql: > fatal database error > > * DB Error: unknown error > * (LOCK TABLES page WRITE,version WRITE,link WRITE,recent > WRITE,nonempty WRITE [nativecode=1044 ** Access denied for user: > 'phpwiki@localhost' to database 'phpwiki']) > > lib/config.php:276: Notice[8]: Undefined variable: SCRIPT_NAME > > > lib/config.php:381: Notice[1024]: The admin password cannot be empty. > Please update your /index.php > > I dont understand what is wrong?? I set up a user 'phpwiki' to access > that mysql db like it said in the install docs. I set my persm in > index.php using this: $DBParams = array( 'dbtype' => 'SQL' 'dsn' => > 'mysql://phpwiki:<password>@localhost/phpwiki > > Yet I still get the error like the DB perms arent set up correctly. Any > idea on how I might be able to fix this?? > > Thanks > > Nick Hudson -- Philip J. Hollenback ph...@po... http://www.hollenback.net |