[Pkg-mediawiki-devel] Bug#381187: mediawiki1.5: warn need mysql-server in Description

Dan Jacobson jidanni at jidanni.org
Wed Aug 2 16:05:20 UTC 2006

Package: mediawiki1.5
Version: 1.5.8-1
Severity: normal

In the package Description, please add:
  You will need to install mysql-server unless already installed on
  another machine on your network.
"Recommends: mysql-server" isn't good enough for boobs like me, who
was about to blame you thusly:
#begin big blame
I fill out http://localhost/mediawiki/config/index.php and get:
  Database config
    MySQL server Couldn't connect to database

   * Connecting to wikidb on localhost as root...failed with error
     2002: Can't connect to local MySQL server through socket
     '/var/run/mysqld/mysqld.sock' (2).

I installed mediawiki1.5 and all its Depends packages and
now get this.

So the Debian Maintainers forgot a crucial dependency.

You must have [tell me WHAT please?] needed packages running in the
background all day so you forgot that the are indeed needed to make
mediawiki1.5 run!?!

Now I must go back to town to download them as they are too big for my
modem. Upon return will again something be missing?!

We check mysql-doc that I just happen to have offline:

  The error (2002) `Can't connect to ...' normally means that there is no
  MySQL server running on the system or that you are using an incorrect
  Unix socket filename or TCP/IP port number when trying to connect to the

  Start by checking whether there is a process named `mysqld' running on
  your server host.  (Use `ps xa | grep mysqld' on Unix or the Task
Contents-i386.gz says
usr/sbin/mysqld misc/mysql-server-5.0
# apt-get --print-uris  install mysql-server-5.0
Need to get 29.3MB of archives.
Great. Blew an opportunity to download it when in town.
Can't spend modem hours to download it now.
Next trip to town in a few months.
#end big blame

P.S., zcat /usr/share/doc/mediawiki1.5/README.Debian.gz | spell #to find
"beeing" etc.

/usr/share/doc/mediawiki1.5/docs/html/README says
   This directory is for the auto-generated phpdoc documentation.
   Run 'php mwdocgen.php' in the maintenance subdirectory to build the docs.
but we see no maintenance subdirectory.
Oh, I see, it is /var/lib/mediawiki1.5/maintenance . Should say so
Also: bash: php: command not found
Mention what further packages are needed...: php5-cli.

By the way
File does not exist: /var/lib/mediawiki1.5/README, referer: http://localhost/mediawiki/config/index.php
File does not exist: /var/lib/mediawiki1.5/RELEASE-NOTES, referer: http://localhost/mediawiki/config/index.php
File does not exist: /var/lib/mediawiki1.5/docs, referer: http://localhost/mediawiki/config/index.php
    * User's Guide
Should be a local file as we are experimenting offline and want a
complete package.

While filling out http://localhost/mediawiki/config/index.php we see
Sysop account  WikiSysop
Say if this is a username or "Bob Dobbs" name!
Wait! Those fields are so crowded together that in fact it is
"password" on that line. (Firefox)

  Suggests: php4-gd2
how about "php5-gd | " too?

More information about the Pkg-mediawiki-devel mailing list