From: Daniel B. <bo...@io...> - 2002-06-20 19:18:51
|
you are probably having permission problems with mysql. you need to tell mysql that dbusername can access via localhost. > Date: Thu, 20 Jun 2002 03:04:49 +0200 > From: Jon =?iso-8859-1?Q?=C5slund?= <d9...@na...> > To: John Kershaw <jo...@ke...> > Cc: php...@li... > Subject: Re: [Phpwiki-talk] MySQL database via localhost? > > On Wed, Jun 19, 2002 at 08:07:56PM +0100, John Kershaw wrote: > > > > 'dsn' =3D> 'mysql://dbusername:=20 > > >password@localhost:/tmp/mysql.kershaw/databasename', > > > > > >but get a bunch of errors which I presume come from phpwiki parsing=20 > > >the hostname incorrectly out of the string. > > > > > >How do I get things working properly? > > > > > >(phpwiki 1.3.2) > >=20 > > Anyone able to help me out with this? > > It will help if you post the error messages. I myself, have never > played with phpwiki and a mysql, so I shouldn't really be answering > :), but if kershaw.org is your local computer (webserver and database > server on the same computer) and that kershaw.org dsn string works ok, > then I can't understand why just replacing kershaw.org with localhost > wouldn't work. > > 'mysql://dbusername:password@localhost/databasename' > > --=20 > ___\ Jon =C5slund > > > > --__--__-- > > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > > > End of Phpwiki-talk Digest |