MySQL Tutorial How to connect and use MySQL Workbench




In this tutorial we will see What is MySQL How to use MySQL and connect with it How to use MySQL. MySQL Workbench is a unified visual tool for database …

Original source


11 responses to “MySQL Tutorial How to connect and use MySQL Workbench”

  1. package chow;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    import java.sql.Statement;

    public class Jddd {

    public static void main(String a[]){

    try {
    Class.forName("oracle.jdbc.driver");
    Connection con = DriverManager.
    getConnection("jdbc:mysql//localhost:3306//My server","root","root");
    Statement stmt = con.createStatement();
    System.out.println("Created DB Connection….");
    } catch (ClassNotFoundException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    } catch (SQLException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    }
    }
    }

    getting error like
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at chow.Jddd.main(Jddd.java:14)

  2. Thank you! thank you for giving a tutorial on the more recent version of MySql Workbench.
    On aside: did anyone else have a "no connection" when they went through the steps? (i'm new with this so i dont know what the cause is or how to fix it)

  3. To all newbies; delete the workbench and search for the MySQL installer. Once there, install the developer version of MySQL which includes server and workbench.Once installed, you won't have to set up your server/workbench connection manually!

    Credits: 4surprisingly

  4. Thank you so much,,,,,, please I need your help when I trying to add new connection the "Connection Name" did not show up ????? so How can I get the The name for the connection ??????

  5. You are one of very people who has posted a video about MySQL Workbench 6.3. Can you post a video for creating a database and creating a table? I would just like to know how to get started.

Leave a Reply