web stats OS X Client Server » 2006 » November



Archive for November, 2006

Back up and restore MYSQL databases on OS X

Friday, November 10th, 2006

MYSQL

MYSQL is an amazing tool but when something goes wrong it can be a real disaster. Maintaining a good back up and recovery plan is an extremely wise step.

In OS X it is very easy to back up your MYSQL databases.

OS X Terminal

Open a Terminal window (Applications -> Utilities - > Terminal)

Change “DatabaseName” to the name of the database you want to back up and type:

/usr/local/mysql/bin/mysqldump -u root -p DatabaseName > backup.sql

or

mysqldump -u root -p DatabaseName > backup.sql
(more…)

Monitor your web traffic in real time

Wednesday, November 8th, 2006

My First OS X Web Server tip is also my favorite. Have you ever wanted watch your web traffic in real time? It turns out its not all that hard.

*** Caution this tip is highly addictive.

Open a Terminal window (Applications -> Utilities - > Terminal)

OS X Terminal

Type:
(more…)

Welcome to OSXClientServer.com

Wednesday, November 8th, 2006

We will provide articles and tips about OS X Web Servers, PHP, MYSQL and other OS X webmaster information. Whats with the name? We are running OS X as a server but not running OS X server. This site is about running a web server from the standard OS X Client version that comes with every new mac. Luckily for us all versions of OS X come with a built in very powerful Apache web server pre installed. Stay tuned for complete guides on how to set up your own webserver.
OS X G5 Web Server