Java
  Home arrow Java arrow Page 3 - Installing MySQL With MySQLGraphic
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Actuate Whitepapers 
Moblin 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
IBM developerWorks
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVA

Installing MySQL With MySQLGraphic
By: Peter Lavin
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 7
    2003-06-23

    Table of Contents:
  • Installing MySQL With MySQLGraphic
  • Configuring MySQL Java
  • Installing MySQLGraphic
  • Downloading and Installing the Demo Database
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    Installing MySQL With MySQLGraphic - Installing MySQLGraphic


    (Page 3 of 5 )

    Installing MySQLGraphic

    Go to the URL, http://www.peterlavin.com/~mysqlgraphic/index.html and click on the download link. On the page you are redirected to find:

    MySQLGraphic1.2.5

    2003-06-05 21:00

    MySQLGraphic1.2.5.jar

    173854

    0

    Platform-Independent

    .jar

    Click on the jar link and MySQLGraphic will be downloaded in seconds.

    The MySQLGraphic jar file may be run from any directory. The simplest way to run this file is to type, at the command line, java -jar MySQLGraphic1.2.5.jar. In the example below the MySQLGraphic jar file must be located on the current user’s desktop and the Java executable file must be set in the PATH variable.

     

     

    You may suppress the appearance of a DOS window by creating a shortcut that issues the command javaw -jar MySQLGraphic1.2.5.jar.

     

    It is possible to run a jar file under Windows by simply double-clicking it. To do this you need to ensure that executable jar files are associated with the right command. Double-click the MySQLGraphic file. If the splash screen appears you’re all set. If not you will need to edit the properties of Executable Jar Files from the Folder Options window of the Tools menu item of any folder window in Explorer. See the picture below:

     

     

    You may have to add the jar file type or the open action may need to be edited. Find below an example of how the open action may be set.

     

     

    Set the path according to the location of the Java Runtime Environment on your computer. If you have just downloaded the version suggested above this path should be C:\Program Files\Java\j2re1.4.0\ bin\javaw.exe. Don’t forget the quotation marks. They are essential.

     

    Getting Started

     

    Now that MySQLGraphic is running, click the Database menu item and then choose Open. You should see something very similar to the screen below.

     

     

    Fill in the textboxes as pictured above. No security is implemented when MySQL is first installed so neither a user name nor password is required. You will know that the database has opened when you see the database name and the MySQL version number in the title bar. The test database does not have any tables in it so why not get started by creating a table. Open a Query window and type, CREATE TABLE tbltemp ( id integer ). Check the Tables menu item. There should now be an entry there.

    More Java Articles
    More By Peter Lavin


     

    JAVA ARTICLES

    - Deploying Multiple Java Applets as One
    - Deploying Java Applets
    - Understanding Deployment Frameworks
    - Database Programming in Java Using JDBC
    - Extension Interfaces and SAX
    - Entities, Handlers and SAX
    - Advanced SAX
    - Conversions and Java Print Streams
    - Formatters and Java Print Streams
    - Java Print Streams
    - Wildcards, Arrays, and Generics in Java
    - Wildcards and Generic Methods in Java
    - Finishing the Project: Java Web Development ...
    - Generics and Limitations in Java
    - Getting Started with Java Web Development in...







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway