Chris <chris.dole@...> writes:
Hello,
I've set up MediaWiki successfully one other XP box, but my second can't do
the
config:
Checking environment...
PHP 5.1.2: ok
PHP server API is apache2handler; 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.
Couldn't find GD library or ImageMagick; image thumbnailing disabled.
Installation directory: C:\Program Files\Apache Group\Apache2\htdocs\wiki
Script URI path: /wiki
Warning: $wgSecretKey key is insecure, generated with mt_rand(). Consider
changing it manually.
Trying to connect to MySQL on localhost as root...
MySQL error 2003: Can't connect to MySQL server on 'localhost' (10061)
I can log into mySql with the same parameters using MySql Administrator
(localhost). What might MediaWiki be doing differently?
Thanks in advance for any tips.
Regards,
Chris
This just in: It seems that there is a networking difference between the
environment where the config worked and the one where it did not. It has
something to do with DNS setup confusing mySql. I found a post elsewhere that
said to add the "enable-named-pipe" option to mySql's my.ini (see below) and
then use "." instead of "localhost" to force it to use named pipes. It
worked!
It's a trick to keep in mind in case you ever run up against something like
that. (Plus I was relieved that I had not done something stupid...)
[mysqld]
# The TCP/IP Port the MySQL Server will listen on
port=3306
#Path to installation directory. All paths are usually resolved relative to
this.
basedir="C:/Program Files/MySQL/MySQL Server 5.0/"
#Path to the database root
datadir="C:/Program Files/MySQL/MySQL Server 5.0/Data/"
#Enable named pipes
enable-named-pipe