[thelist] PHP Apache & MySql the next step

Andrew Maynes andrew at humanbehaviour.co.uk
Thu Aug 29 04:41:01 CDT 2002


ok this sounds good Rob

I am 9x (win98) so I have checked out the console, the bit that was thrwing me
was the username password and port?  so this is setup within the php config? or
apache?

Andrew

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Rob Wilson
Sent: Thursday, August 29, 2002 10:19
To: thelist at lists.evolt.org
Subject: Re: [thelist] PHP Apache & MySql the next step


>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

--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.384 / Virus Database: 216 - Release Date: 8/21/02

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.384 / Virus Database: 216 - Release Date: 8/21/02




More information about the thelist mailing list