Depending on which insallation you did, one may not have been created. I know I had to make my own. Do a search on google for php.ini and you will find instructions.
Use the NetInfo Manager... take a look at this site for some good info:
http://www.phpmac.com/articles/view.php?id=41
If you go to the homepage of that same site, there is a new how-to on getting MySQL and PHP running for the total newbie and there are other how-to articles if you browse...
Wiz,
I am trying to get MySQL to start as in your example but it doesn't start when I boot. So... I was digging around the forums looking for clues and I found a way to see what is happening at startup by typing:
sudo SystemStarter restart
anyhow... when I do this and watch the terminal, I...
Sorry... more on this.
So... I am trying to get MySQL to load at startup so I followed the instructions in another thread and created the necessary files, but MySQL does not load.
The script has this to start mysql:
cd /usr/local/mysql ; /usr/local/mysql/bin/safe_mysqld --user=mysql...
ah yes... that much I assumed. after i installed both apache and mysql (got the instructions to do this off http://www.phpmac.com/
the last step of which for mysql is to do this:
sudo scripts/mysql_install_db
sudo chown -R root /usr/local/mysql
sudo chown -R mysql /usr/local/mysql/data
sudo...
definately need to sudo them to get them to start. see:
ckline% apachectl start
Processing config directory: /private/etc/httpd/users
Processing config file: /private/etc/httpd/users/ckline.conf
fopen: Permission denied
httpd: could not open error log file /private/var/log/httpd/error_log...
I don't actually mind starting apache and mysql when i need them, just was wondering why i had to start mysql from its install directory and not apache. also, is there a way to make it so i don't have to sudo to start apache/mysql?
so wiz,
to get your startup XML script to work, I create a directory inside System/Library/StartupItems called mySQL and put your script in there with the correct path to my mySQL directory?
Thanks
Is there a way to get mysql running without having to cd into the mysql directory first? to start apache all i need to do is type apachectl start - why all the directory stuff for mysql?