I did a backup of my OS X Leopard system. Somehow, this has totally screwed up my MySQL installation. I can't start a MySQL session via the terminal. The really bizarre thing, however is that I can still do MySQL queries through PHP code via a web browser pointed to my localhost. I'm relatively new at mysql, so I would have thought if I could access it via the web browser, I should also be able to access it via the terminal. Can anyone tell me if there is a way via the terminal that I can find the actual MySQL databases that the localhost is using? Also, has anyone else experienced something similar and found a resolution? I'm going to upgrade to Snow Leopard soon, but I'd prefer not to have to recreate all the MySQL databases for Snow Leopard, and I'd love to be able to fix this installation. Any help, or constructive criticism would be greatly appreciated.