Article:
 |
|
Installing a Wiki on Your iBook
|
| Subject: |
|
It just got even more interesting |
| Date: |
|
2003-06-18 19:43:58 |
| From: |
|
dparmet1
|
Response to: got all the way through and made the changes to the index.php
|
|
I just tried opening index.php via Safari once again and this time I got..
lib/WikiDB/backend/PearDB.php:32: Fatal[256]: Can't connect to database: wikidb_backend_mysql: fatal database error
DB Error: connect failed
( [nativecode=Access denied for user: 'wiki@localhost' (Using password: YES)] ** mysql://wiki:XXXXXXXX@localhost/wiki)
lib/config.php:276: Notice[8]: Undefined variable: SCRIPT_NAME
Is this a MySQL problem?
baffled...
david parmet
|
Showing messages 1 through 4 of 4.
-
It just got even more interesting
2004-01-17 15:14:10
anonymous2
[View]
-
It just got even more interesting
2003-06-19 04:38:02
dparmet1
[View]
-
It just got even more interesting
2003-06-22 13:46:10
anonymous2
[View]
-
It just got even more interesting
2003-06-22 13:45:50
ilyaa1
[View]
( [nativecode=Access denied for user: 'wiki@localhost' (Using password: YES)] ** mysql://wiki:XXXXXXXX@localhost/wiki)
It's just that we missed something. Like in the tutorial, make sure the following line is uncommented, and make sure the username and password can access the database (the DB name in this case is 'phpwiki')
'dsn' => 'mysql://username:password@localhost/phpwiki'
I hope this helps someone, as I was scratching my head for much too long on this simple mistake ;)