On Mon, Apr 1, 2013 at 10:37 AM, Mark A. Hershberger mah@everybody.orgwrote:
On 04/01/2013 12:00 PM, Dmitrii Kouznetsov wrote:
but I cannot find the executable mysql, mentioned in the manuals, and command mysql "is not found". I have no idea, what do I wrong. Shold I continue searching for a way to activate the MySQL before to install MediaWiki 1.21.0 ?
Yes, you need a database installed. Someone with OS X experience can probably help you better than I can.
I run a test instance on my OS X machine (currently 10.8.3). I use the MySQL installer package from dev.mysql.com -- try < http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.10-osx10.7-x86_64.dmg...
Double-click and run the installer; also double-click the preferences pane to install that, it makes it easy to start and stop the MySQL server.
This will install the 'mysql' command into /usr/local/mysql/bin so you might need to add a line like this to your ~/.profile file:
export PATH=$PATH:/usr/local/mysql/bin
Note that you may also need to adjust /etc/php.ini and add a line like:
mysql.default_socket=/tmp/mysql.sock
for the Apple-provided PHP to see MySQL properly. You may need to stop and restart the web server after adjusting php.ini.
I think, PDFs are good and sufficient.
You'll want http://www.mediawiki.org/wiki/Extension:PdfHandler to support upload of PDFs; by default this will rasterize the PDFs for inline display, so you don't need a browser plugin. The extension depends on some external Unix programs as mentioned on that page, you should be able to install them through HomeBrew or MacPorts.
-- brion