Re: PHP before mysql on a mac?

2003-03-24 Thread Santino
Open a terminal/console Window and type:
mysql
If You got an error message You have to follow these steps:
su
mysql_install_db
chown -R mysql.mysql /var/mysql
chmod 577 /var/mysql
then go in the Application/Utility folder and launch the MySqlMonitor
Click on Launch at startup.
I followed these step with Mac OS X Server (10.2.3).

Santino

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: PHP before mysql on a mac?

2003-03-24 Thread Jeff Shapiro
Here's a couple of links that should help.

PHPMac
http://www.phpmac.com/
has an article about turning on PHP in Apache.
MySQL on Mac OS X
http://developer.apple.com/internet/macosx/osdb.html
PHP on Mac OS X
http://developer.apple.com/internet/macosx/php.html
Even though OS X comes with Apache and PHP installed, for some reason 
Apache is not configured to handle PHP by default (at least in 
Jaguar). You have to make changes to your httpd.conf file.

jeff

At 9:23 -0800 3/24/03, katherine bjork wrote:
My test.php page recognizes the potential for mysql but something went
wrong when I first tried to install mysql so I removed mysql and am
about to attempt a re-install.
I've a couple of books on hand, neither of which addresses MAC OSX
which is unix based.
OSX comes with apache and php pre-installed but the books I read state
that mysql must be installed before php unless php expects it to be
installed in a specific location and it is thus installed in said
location.
I'm a complete novice on all accounts once I install Mysql, how do I
get php to see it?
Katherine

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
--

Jeff Shapiro, Colorado Springs, CO, USA

At work I *have* to use a Windows machine, at home I *get* to use a Mac.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]