Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ercw

macrumors regular
Original poster
May 4, 2006
104
0
I installed a binary Package of Mysql on 10.3.9
I also have a copy of CocoaMySQL.

question1: is there a pill that I can take to make me smarter?
Question2: How can I test mySQL to make sure it's working?
#3: is there a specific command I need to do in the terminal?
#4: In CocoaMySQL, I'm unable to setup a connection to my localhost, I'm assuming that I need to use my computer name and my localhost password?

Please help a dummie
 
ercw said:
question1: is there a pill that I can take to make me smarter?
There's one, but it'll also make you see things blue. And it has some other, err... side effects :D

I can't remember exactly, but I think when you first install MySql, you can login using the user root and a blank password (if it's not a blank password then it's your OS X admin password). After that first login, you have to set a new password for root.

Also, try using MySql Administrator or MySql Query Browser to see if you can login with them.
 

Attachments

  • Screenshot_3.png
    Screenshot_3.png
    44 KB · Views: 114
floyde said:
Also, try using MySql Administrator or MySql Query Browser to see if you can login with them.

Where do I find this?
 
i'd check out navicat for a good mysql database manager.
Sure, its a little more difficult than cocoamysql, but it feels a lot better.

also, i had some problems with cocoamysql with dumping databases and what not. Just check out navicat.
 
Ok MySQL is working, just a coupla questions

In my Localhost, where does MySQL stores the databases?
Looks like my SQLAdmin lets me select a path. Should the databases live in the root diectory of the web site? (local site folder)
May sound like a dumb question but I'm taking baby steps here.
Thank you

Eric
 
ercw said:
Should the databases live in the root diectory of the web site? (local site folder)
Nope, that wouldn't be too secure or practical. I recomment that you use the default directory that was set by MySql to avoid any security or technical issues (setting up the proper permissions, etc.). You will almost never have the need to work with the physical database files themselves, and pretty much all you will need to do to them can be done via MySql Admin (deleting, renaming, etc.).
 
Thanks

floyde said:
Nope, that wouldn't be too secure or practical. I recomment that you use the default directory that was set by MySql to avoid any security or technical issues (setting up the proper permissions, etc.). You will almost never have the need to work with the physical database files themselves, and pretty much all you will need to do to them can be done via MySql Admin (deleting, renaming, etc.).

Thank you very much floyde, you seem very knowledgable

Eric
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.