How to manage databases/SQL in Mac?

Discussion in 'Mac Programming' started by ohla313, Jan 18, 2012.

  1. macrumors 6502a

    ohla313

    Joined:
    Apr 24, 2010
    #1
    What programs are the standard in managing databases on Macs? I heard about people using MySQL but am not sure how to use it on Mac/PC.

    Any insight please?
     
  2. macrumors 65816

    antonis

    Joined:
    Jun 10, 2011
    #2
    Every database has its own set of tools, no matter if you are on a Mac or a pc. Besides the administrative tools that come out of the box with the database, you can also download free or commercial additional tools.

    For example, Oracle has a web based tool that comes and installs with the database called Enterprise Manager (besides the command line tools), but also offers the SQL Developer which you can download free. There are also commercial tools like Toad and navicat.

    For MySQL, by installing it you'll be able to perform managing tasks by command line. But there are also free great tools like phpmyadmin and MySQL workbench. And you'll find even more if you search for it.
     
  3. thread starter macrumors 6502a

    ohla313

    Joined:
    Apr 24, 2010
    #3
    Currently I am taking a database class and was told MySQL makes it easier to run SQL commands so I thought I would try that. How do I install this? Is it easier than just using Access to run SQL commands?
     
  4. macrumors 6502

    Joined:
    Oct 29, 2011
    #4
    Access (assuming you mean MS Office Access) uses MS-SQL, iirc.

    MySQL is a server package you can install on most computers, it has a basic interface. There is a manager application called phpmyadmin, but that requires, in addition, a webserver with PHP extensions installed.
     
  5. macrumors 65816

    jiminaus

    Joined:
    Dec 16, 2010
    Location:
    Sydney
  6. thread starter macrumors 6502a

    ohla313

    Joined:
    Apr 24, 2010
    #6
    Hmm it seems more complicated than I think. Maybe once I master SQL the old fashioned way through Access, I will look at this.

    Thank you for the links!
     
  7. macrumors 6502

    Joined:
    Mar 8, 2004
    #7
    If you're just learning generic SQL you can use the OS X command prompt to access SQLite. I'm on a PC right now so I can't double check this but you should simply be able to type in sqlite3 into the command line and it'll enter interactive mode. SQLite is a self contained file based SQL implementation so you don't have to worry about installing an actual SQL server. You can create/delete/modify/use/etc tables directly from interactive mode.


    In case it isn't installed by default:
    http://www.sqlite.org/download.html
     
  8. macrumors 65816

    jiminaus

    Joined:
    Dec 16, 2010
    Location:
    Sydney
    #8
    Hahahaha. Trust me that Access is anything but the old fashioned way.


    Yeap, SQLite is installed by default. On Mac OS X 10.7.2 is version 3.7.5.
     
  9. thread starter macrumors 6502a

    ohla313

    Joined:
    Apr 24, 2010
    #9
    Great! Thanks for the links. Well if Access isn't old fashioned thats even better! It is a pain to use though..
     
  10. macrumors newbie

    Joined:
    Jan 19, 2012
    #10
  11. macrumors 6502a

    shinji

    Joined:
    Mar 18, 2007
    #11
    I use RazorSQL, which can interact with mysql, oracle, simpledb, sybase, etc. and comes with its own built-in db.
     

Share This Page