From: Nick H. <nh...@lu...> - 2003-07-05 20:37:15
|
Yeah im running mysql 4.x, I will look there thank for the help. Nick Hudson On Sat, 2003-07-05 at 15:23, Philip J. Hollenback wrote: > 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. >=20 > P. >=20 > On 07/05/03, Nick Hudson wrote: > > Greetings, > >=20 > > I downloaded and installed phpwiki 1.3.4 and when I go to the main pag= e > > I get this error: > >=20 > >=20 > > lib/WikiDB/backend/PearDB.php:681: Fatal[256]: wikidb_backend_mysql: > > fatal database error > >=20 > > * DB Error: unknown error > > * (LOCK TABLES page WRITE,version WRITE,link WRITE,recent > > WRITE,nonempty WRITE [nativecode=3D1044 ** Access denied for us= er: > > 'phpwiki@localhost' to database 'phpwiki']) > >=20 > > lib/config.php:276: Notice[8]: Undefined variable: SCRIPT_NAME > >=20 > >=20 > > lib/config.php:381: Notice[1024]: The admin password cannot be empty. > > Please update your /index.php > >=20 > > 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 =3D array( 'dbtype' =3D> 'SQL' 'dsn' = =3D> > > 'mysql://phpwiki:<password>@localhost/phpwiki > >=20 > > Yet I still get the error like the DB perms arent set up correctly. An= y > > idea on how I might be able to fix this?? > >=20 > > Thanks > >=20 > > Nick Hudson >=20 >=20 |