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)".
Aaargh....! Didn't look at the last bit closely enough...
I've created the MySQL database joshua-w_wiki previously, but it's empty (0 items in it). Am I supposed to insert something inside it for it to work? I had assumed MediWiki would create whatever was supposed to go in there when the time came...
Okay, now there are 29 items in joshua-w_wiki, so I guess we're going in the right direction. In this last session, I had inserted joshua-w_wiki (the user, not the database) into the "Superuser account" field of the MediaWiki 1.6.5 Installation screen, with the appropriate password. Should I have used something else? I don't have (access to) a username named Root here. Come to think of it, my usual access account name is just plain joshua-w, maybe I should be using that as the Superuser account...
Aaaaarghhhh...! So many fiddly-bits to get confused by...
Well, just tried it with joshua-w as the Superuser. Same results...
# PHP 4.4.1 installed # Warning: PHP's register_globals option is enabled. Disable it if you can. MediaWiki will work, but your server is more exposed to PHP-based security vulnerabilities. # PHP server API is apache; ok, using pretty URLs (index.php/Page_Title) # Have XML / Latin1-UTF-8 conversion support. # PHP is configured with no memory_limit. # Have zlib support; enabling output compression. # Neither Turck MMCache nor eAccelerator are installed, can't use object caching functions # GNU diff3 not found. # Found ImageMagick: /usr/local/bin/convert; image thumbnailing will be enabled if you enable uploads. # Found GD graphics library built-in. # Installation directory: /home/joshua-w/public_html/wiki # Script URI path: /wiki # Environment checked. You can install MediaWiki.
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...success. # Connected to 4.0.16 # Database joshua-w_wiki exists # There are already MediaWiki tables in this database. Checking if updates are needed... # Granting user permissions... 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@localhost' to database 'joshua-w_wiki' (localhost)".