On 22/05/06, Nomad of Norad (David C Hall) wikimaster@joshua-wopr.com wrote:
Nomad of Norad (David C Hall) wrote:
Nomad of Norad (David C Hall) wrote:
Okay, tried it again, with the full database name this time, and got:
[snippity]
Generating configuration file... * Database type: mysql * PHP is linked with old MySQL client libraries. If you are
using a
MySQL 4.1 server and have problems connecting to the database, see http://dev.mysql.com/doc/mysql/en/old-client.html for help. * Attempting to connect to database server as
joshua-w_wiki...success.
* Connected to 4.0.16 * Database joshua-w_wiki exists * Creating tables... using MySQL 4 table defs... done. * Initializing data... * Granting user permissions to wikiuser on joshua-w_wiki...Query
"GRANT DELETE,INSERT,SELECT,UPDATE ON `joshua-w_wiki`.* TO 'wikiuser'@'%' IDENTIFIED BY 'pl0p!' " failed with error code "Access denied for user: 'joshua-w_wiki@localhost' to database 'joshua-w_wiki' (localhost)".
Create a user and grant them permissions on the database, then use that username and password as the connection username and password during installation.
In some shared hosting setups, granting the user "all" permissions on the database is required so that the schema can be set up.
Rob Church