|
#1
| ||||
| ||||
| 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 |
|
#2
| ||||
| ||||
| 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> Code: create database <database_name>; 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, 2120 GB RAID 1, 2500 GB RAID 0 |