image
image

|


Go Back   macosx.com > Mac Help Forums > Mac OS X Server

Reply
 
Thread Tools
  #1  
Old June 29th, 2008, 02:38 PM
wicky's Avatar
play thing
 
Join Date: Jul 2002
Location: London
Posts: 353
Thanks: 0
Thanked 0 Times in 0 Posts
wicky is on a distinguished road
OS X server - phpMyAdmin?

I'm setting up os x server (10.5) for the first time and could really do with a little advice.

I'm used to doing much of my web development on a local MAMP install, and I'd like to replicate a similar set up on the server.

I understand that PHP & MySQL are pre-installed on the server, but I've always done all of my admin via phpMyAdmin so don't really understand where to add a new database.

Can anybody tell me how to install phpMyAdmin in the relevant place, or alternatively, point me towards some other help/ instructions.

Thanks
__________________
#me {
Leaf Media: Design & Dev;
Liquid Layouts: Interactive Photography;
}
Reply With Quote
  #2  
Old June 29th, 2008, 07:30 PM
michaelsanford's Avatar
Psycholinguist
 
Join Date: Oct 2002
Location: Ottawa/Montrιal
Posts: 2,151
Thanks: 0
Thanked 0 Times in 0 Posts
michaelsanford is on a distinguished road
You can install phpMyAdmin in any location that apache can serve files from.

To add a new database in the command-line, you can, from the shell, run
Code:
mysqladmin -u root -p create <database_name>
or, from inside mysql:
Code:
create database <database_name>;
Though you do not need to do it as the MySQL 'root' user, but as any user with create permissions.

I must add that I despise phpMyAdmin and do almost all of my database manipulation in the shell. It keeps my brain fresh, especially for correctly and efficiently crafting queries for use in my php apps. If you're a sysadmin, I would recommend spending some more time in the Terminal and getting used to–and comfortable with–the shell.
__________________
michaelsanford.com • Blog • Twitter • Tumblr • LinkedIn
• iBook G4 1.42 GHz | MacOS X 10.5-current | 1 GB RAM, 100 GB HDD
• iMac G4 TFT 700 MHz | MacOS X 10.4.11 (8S165) | 768 MB RAM, 40 GB HDD
• AMD Athlon64 3500+ | Slackware 12 (2.6.21.5-smp) | 2 GB RAM, 2•120 GB RAID 1, 2•500 GB RAID 0
Reply With Quote
Reply

Tags
mysql, phpmyadmin

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 12:20 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.