I'm trying to set up Web Sharing... phpinfo() shows MySQL is installed, but I can't find it. Terminal says "command not found" when I try mysql.
I have no idea what I'm doing, or even if this question makes sense.
|
MySQL is not installed by default, even though the included PHP is compiled with MySQL support. Check out this guide for MySQL installation. |
|||||||
|
|
Try opening the terminal, and typing If you've never used locate before, it will index your drive first; in which case you might need to "sudo locate" and wait five minutes before re-trying. For the documentation, type |
||||
|
|
mysql [anything]in Terminal, I just getbash: mysql: command not found. Do I have to do something else to enable that? Or, uh, be in a certain directory? I've tried the apache directory & the directory that houses the socket. – Toph Dec 27 '11 at 0:09