[thelist] PHP Apache & MySql the next step

Rob Wilson robw at enigma-interactive.co.uk
Thu Aug 29 04:20:00 CDT 2002


>What do I need to specifically start using Mysql with php locally?  baring
in
>mind that all previous experience has been with php MySql connection via
hosting
>companies

Run <path to mysql>\bin\mysqld.exe

Then your PHP should be able to connect to it automatically.  The win32 php
distribution comes compiled with mysql support by default.  You could also
run winmysqladmin.exe which IIRC runs the appropriate exe for you when you
start it.  If you're on 9x you'll have a nice console window to play with
similar to the one apache has, under 2k/xp it can run as a service and so
you'll not get that window.

You'll need to create a user for php to use and a database as well unless of
course you're happy having php access your database as root ;]

HTH

Rob




More information about the thelist mailing list