Look at the first line : You forgot the #
This works for me:
#!/bin/sh
. /etc/rc.common
##
# Start up MySQL server
##
if [ "${MYSQLSERVER:=-NO-}" = "-YES-" ]; then
ConsoleMessage "Starting MySQL Server"
/usr/local/share/mysql/mysql.server start
fi
The...
To make a dump of the DB :
mysqldump -u root -h localhost -p[password] DB_name > backup/mysql/DB_name.sql
If your ISP have PhpMyAdmin; just take this file and paste it into the field and run it!
Upload your php files, and you are done!
NuCleuZ
There's a program called pkg-remove here :
http://macosx.forked.net/misc.php3
That will remove pkg installed programs.
As for building Apache / PHP : have you seen the tutorial on www.devshed.com??
NuCleuZ
mysqldump -u root -h localhost -p[password] DB_name > backup/mysql/DB.sql
This works for me anyway.
You can make a .login file where you put that in, and it'll get executed whenever you log in.
NuCleuZ