Setting up MySQL in Netbeans IDE7

hello
I am situated at MySQL Server Properties dialog box at the Administration Properties tab in Netbeans IDE 7. In this dialog box there are 3 tabs needed to fill in to successfully set up SQL server. These tabs are:
Path/URL to Admin Tool
Path to start command
Path to stop command
In the dialog box under each tab there are other tabs called Arguments. I am not sure but perhaps for my particular services Arguments tabs may or may not be left empty.
Each tab has a browse option next to it. Clicking on browse I have the options to save on desktop, documents...... and so on.
With no luck clicking browse and saving the file. As a new comer to Netbeans what can I possibly do in this dialog box to create SQL server? Thank you.

835023 wrote:
hello
I am situated at MySQL Server Properties dialog box at the Administration Properties tab in Netbeans IDE 7. In this dialog box there are 3 tabs needed to fill in to successfully set up SQL server. These tabs are:
Path/URL to Admin Tool
Path to start command
Path to stop command
In the dialog box under each tab there are other tabs called Arguments. I am not sure but perhaps for my particular services Arguments tabs may or may not be left empty.
Each tab has a browse option next to it. Clicking on browse I have the options to save on desktop, documents...... and so on.
With no luck clicking browse and saving the file. As a new comer to Netbeans what can I possibly do in this dialog box to create SQL server? Thank you.My suggestion is to just create a mysql instance from the command line and use it. In any case, i think the [url http://forums.netbeans.org/]Netbeans forums might be a better place for you question.
Edited by: maheshguruswamy on Aug 11, 2011 11:47 AM

Similar Messages

  • How to export result set from mysql query browser to .sql in oracle

    Hi folks:
    I was trying to export result set from MySql query browser to Oracle. I could able to do
    File->Export Result Set-> Excel format...
    What I am trying to get is .sql file so that I can run it as a script in my oracle db. Is there any way we can get .sql file with inserts and delimeters ....?
    Did you guys get my question.?
    Please throw some light on this....
    Could be very appreciable ....
    Thanks
    Sudhir Naidu

    Hi
    Create a sql statement which generates the insert statements.
    Something like this:
    select 'insert into table1 (column1, column2, column3) values (' ||
    column1 || ', ' || column2 || ', ' || column3 || ');' from table 1;
    The || sign is the string concatenation sign in Oracle, replace it the appropriate sign in MySql. Export the result set of this query into a file, and you can run it in a SqlPlus.
    Ott Karesz
    http://www.trendo-kft.hu

  • Setting up MySQL for Dreamweaver 8

    I set up MySQL on my Macintosh yesterday, along with PHP --
    all went fine yesterday, until I tried to connect Dreamweaver to it
    (today I went back and uninstalled and tried to reinstall, and all goes less well -- can anyone tell me what
    robert:/usr/local/mysql robert$ bin/mysqladmin -u root password 'himmel'
    bin/mysqladmin: connect to server at 'localhost' failed
    error: 'Access denied for user 'root'@'localhost' (using password: NO)'
    signifies?)
    In any case -- back to the story:
    I go to connect to the DB in Dreamweaver 8, and when I try to set up the DB in the "databases" tab and click on the "database" field I get
    "An unidentified error has occurred"
    and then
    "HTTP Error Code 404 File Not Found....
    [Possible Reasons]: 1) No testing server running on this machine.
    2) The Testing Server specified for this site does not map to the http://127.0.0.1/~robert/Sites/_mmServerScripts/MMHTTPDB.php?Type=MySQL&Connecti onString=host=localhost;uid=dwmx;pwd=mm&Host=localhost&&UserName=dmwx&Password=m m&Timeout=30 URL. Verifiy that the URL prefixs points to the root of the site."
    Any clue? I know little about PHP or Unix, but am trying to learn.

    Great info - thank you, David! I will be trying that this
    afternoon.
    Before I do, however, I need to clarify whether I am doing
    this the "best"
    way in my decision to use MAMP. I was looking for the
    quickest, easiest way
    to get a Testing Server setup so that I could test out
    multiple client
    sites. In your opinion, is my approach the best solution? Do
    I need to
    purchase MAMP Pro?
    Thanks again, much appreciated!
    Derrill
    "David Powers" <[email protected]> wrote in message
    news:gcar60$1ga$[email protected]..
    > Derrill wrote:
    >> Server Model: PHP/MySQL
    >> Access: Local/Network
    >> Testing Server Folder: (Not sure what goes here
    because I am not sure
    >> where my website root folder should reside)
    >
    > Since you have installed MAMP, the server root is
    > /Applications/MAMP/htdocs
    >
    > If you create a subfolder called mysite inside htdocs,
    URL prefix becomes
    >
    http://localhost/mysite/
    >
    > However, by default, MAMP uses a non-default port for
    Apache. If you are
    > using the MAMP ports, you need to change the URL prefix
    to
    >
    http://localhost:8888/mysite.
    >
    > As long as you run only MAMP, it's best to configure
    MAMP to use the
    > Apache and MySQL default ports (80 and 3306). You do
    this in MAMP Pro by
    > selecting Server > General, and clicking the Default
    port button. Since
    > you have got MAMP Pro, you can also create virtual hosts
    for your sites.
    > You do that by clicking the Hosts tab in MAMP Pro. Click
    the plus button
    > at the bottom-left of the panel, give the virtual host a
    new name and
    > specify its location in the fields on the right.
    >
    > Always restart the servers after making any changes.
    >
    >
    > --
    > David Powers, Adobe Community Expert
    > Author, "The Essential Guide to Dreamweaver CS3"
    (friends of ED)
    > Author, "PHP Solutions" (friends of ED)
    >
    http://foundationphp.com/

  • Setting up mySQL database

    I'm trying to set up mySQL database on my mid 2009 15" macbook pro running snow leopard.
    I downloaded the dmg file and installed all three files on the dmg.
    I can't connect to the database through the terminal or through system preference panel.
    Does anyone have an idiot guide or walkthrough for setting up the database?

    I'm not sure if this is going to help you, I think I used it at the time I set up MySQL:
    http://superfancy.net/coding/php-mysql-apache-in-mac-osx-leopard/
    And there is also this:
    https://discussions.apple.com/message/12191291#12191291

  • Need help setting up JDBC with mySQL and Netbeans

    I've successfully got mySQL up and running and created a few simple test databases. I've been following the instructions on this website (http://www.stardeveloper.com/articles/display.html?article=2003090401&page=1 ) to get JDBC working but have had little luck.
    I've downloaded JDBC from mySQL website, extracted the mysql-connector-java-3.1.13-bin.jar file and changed the class path to :
    C:\Program Files\Java\jre1.5.0_06\lib\ext\mysql-connector-java-3.1.13-bin
    which is where I placed the .jar file.
    I then used the following code provided on stardeveloper.com to test a connection with the test database.
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    public class JdbcExample2 {
      public static void main(String args[]) {
        Connection con = null;
        try {
          Class.forName("com.mysql.jdbc.Driver").newInstance();
          con = DriverManager.getConnection("jdbc:mysql:///test",
            "root", "secret");
          if(!con.isClosed())
            System.out.println("Successfully connected to " +
              "MySQL server using TCP/IP...");
        } catch(Exception e) {
          System.err.println("Exception: " + e.getMessage());
        } finally {
          try {
            if(con != null)
              con.close();
          } catch(SQLException e) {}
    }It compiles but when run I get the error message :
    java.lang.NoClassDefFoundError: testdatabase/JdbcExample2
    Exception in thread "main"I assume this means that my classpath isn't setup correctly but I have no idea what's up and how to correct it.
    Can someone PLEASE tell me how to setup jdbc and what I've done wrong.
    Thanks in advance :)

    Thanks for your reply. I've made some progress but I'm still having problems.
    In mySQL I created a new user called uraknai with password n0121429 and granted them access to a test database I created called pet.
    Then, in netbeans, I clicked the Runtime tab, clicked Databases and rightclicked Drivers and clicked Add Driver. I then added the driver mysql-connector-java-3.1.13-bin.jar. I then right clicked the newly added driver and selected the connect using option. I filled in the appropriate boxes clicked ok and it connected successfully.
    Then, under the project tab, I right clicked the project name, clicked properties then clicked Libraries and added the .jar file mysql-connector-java-3.1.13-bin.jar
    I then ran the following code to test the connection to the database:
    import java.sql.*;
    public class ConnectionTest {
        public ConnectionTest() {
        public static void main(String[] args)
            System.out.println("BEGIN CONNECTION TEST");
            Connection conn = null;
            try
                   String userName = "uraknai";
                   String password = "n0121429";
                   String url = "jdbc:mysql://localhost/pet";
                   Class.forName ("com.mysql.jdbc.Driver").newInstance ();
                   conn = DriverManager.getConnection (url, userName, password);
                   System.out.println ("Database connection established");
             catch (Exception e)
                   System.err.println ("Cannot connect to database server");
             finally
                   if (conn != null)
                       try
                           conn.close ();
                           System.out.println ("Database connection terminated");
                       catch (Exception e) { /* ignore close errors */ }
    }and get the message:
    java.lang.NoClassDefFoundError: math/ConnectionTest
    Exception in thread "main"
    Java Result: 1when I run the code.
    Can someone explin what I've done wrong and how to fix the problem.
    Cheers.

  • Insert picture in MySQL using Netbeans 5.5

    Can anyone help me how to insert a picture in MySQL database by using Netbeans 5.5?
    I understand that we need to use BLOB as the data type, but how to make MySQL read the location of the picture?
    As an example, in table cars,
    I have set the datatype VARCHAR for carid, name, vendor and type.
    While for pic, I selected BLOB as its datatype.
    How I insert data into the table?
    I choose Execute Command at carid(primary key) and enter the information.
    insert into cars (carid, name, vendor, type,pic) values ('N1','Skyline GT-R','Nissan','4WD',C:\\Documents and Settings\\My Document\\car1.jpeg)
    However, I got wrong in term of assigning the value for pic. What should I do?
    Please help me.
    Thank you in advance.

    May I know what do you mean by binary data of the
    picture?
    I really don't get it.We can see that.
    First of all, you do not, as you were trying, just give MySQL a filepath and have it do some magic. That won't work to store the actual image contents in the database.
    So what should you do? Create a PreparedStatement. Get the content of the image file (using some sort of stream). Bind the content of the image to your PreparedStatement. Execute the insert.

  • Issue in Setting up MySQL DB with ATG 10.0.3

    Hi All,
    I am facing the below issue while setting up the MySQL DB with the ATG 10.0.3 version.
    **** Error Thu Aug 30 23:45:25 CDT 2012 1346388325927 /atg/dynamo/service/jdbc/JTDataSource an exception was encountered while trying to populate the pool with the starting number of resources:
    atg.service.resourcepool.ResourcePoolException: java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306
    **** Error Thu Aug 30 23:45:25 CDT 2012 1346388325968 /atg/dynamo/service/jdbc/JTDataSource The connection pool failed to initialize propertly, i.e. the starting number of connections could not be created; check your database accessibility and JDBC driver configuration
    Please help to resolve this issue.

    Weblogic comes with ojbc driver for oracle db but I've never tried it with mysql - I just looked and theres mysql-connector-java-commercial-5.1.14-bin.jar in weblogic server/lib directory. Make sure its coming up in your class path log output when you startup weblogic.
    -Kip

  • Character Setting Problem ( mysql + tomcat )

    Hi all;
    I am using mysql dbms and tomcat web server(servlet). But in my web page, the characters are shown broken. I set the character set of the mysql database. They are shown well in the dbms console. And also I set the html code with appropriate character set in the meta tags. Do I need to make any extra setting? Perhaps in the tomcat or anywhere else? What is the problem here?

    assumes:
    1. using jsp to display the db data
    2. db encoding is ISO-8859-1
    3. jsp encoding is utf-8
    for the very first line of the jsp file:
    <%@ page pageEncoding="utf-8" %>before displaying the data:
    String str = <data from db>
    str = new String(str.getBytes("ISO-8859-1"), "UTF-8");

  • How to set main class in netbeans?

    i have a class with a main method that i want to set as my main class, but i dont have the source for it. how can i set it as my main class in netbeans?
    thanks!

    ya i can run in from the comand prompt, Excellent.
    and yeah your right it should be easy. It IS easy. You just did it.
    but for the life of me i cant figure it out. What can't you figure out? How to do the same thing in NetBeans?
    i dont know where else to turn.Let me suggest the NetBeans docs. I'm sure they've got something in there to tell users how to run a .class with a main() method.
    Better yet, keep doing things on the command line until you're knowledgable about NetBeans and leave the IDE alone until you know Java. Two mysteries at once is too much.
    %

  • Beginner - setting up MySQL on OS X Server 10.5.4

    I would like to know what I need to do so if I run the program "MySQL Administrator" on my OS X 10.5 server or run it from another mac on my network - how I can get it to connect to my OS X 10.5 MySQL server.
    I did the normal first steps:
    Opened the Server Admin application
    Selected the server I wanedt to configure from the list pane on the left
    Clicked "Add Service"
    Foundd "MySQL" in the list and checked the box
    Clicked "Save"
    Checked "Allow network connections"
    Clicked "Set MySQL Root Password" (and made it the same password as I log into the machine with).
    Entered the password twice
    Clicked "OK"
    Clicked the "Start MySQL" button
    I assume if I run MySQL Administrator on the OS X 10.5.4 Server, I can use this info:
    Server Hostname: localhost
    Username: root
    Password [the password I used] above
    But if I try that with MySQL administrator, I can't log on.
    I did try typing:
    $ mysql -u root -p
    And I got this:
    Welcome to the MySQL Monitor. Commands end with ; or \g
    Your mySQL connection id is 14
    Server versoin: 5.0.45-log Source Distribution
    Thanks

    I got things to work. I forgot in MySQL administrator to put:
    "Connect using socket" option as /var/mysql/mysql.sock

  • I need to set a MySql password

         I need to set a password for the root user and create a second user account and set that password in MySQL 5.5.16 on my 10.6.8 mac mini.  I know NOTHING about Terminal so I need super detailed. step by step instructions.  I need to know exactly what to type, where and when I type it.  Once I am done with this I don't need to do anything else in Terminal.  I have a program that uses a MySQL database and it doesn't work completely unless it can log in with a password.
         The program is AudioRack if you''re interested.
    Tracy

    The creator of the AudioRack program recommended Sequel Pro to manage MySQL.  WOW, that works.
    http://www.sequelpro.com/
    Tracy

  • Setting up mySQL relationship

    I realize this is an Adobe forum, but does anyone know where
    i can find a good tutorial on how to set up relationships between
    tables in a mySQL database using either phpMyAdmin or the SQL
    Syntax?
    many thanks.

    Relationships are quite easy in mySQL - I use them
    constantly.
    I don't create relationships in the DB itself (only in the ID
    links)
    The trick is in the creation of the recordset provided you
    have your ID's and Link ID's correctly set up...
    E.G.
    SELECT TABLE1.*, TABLE2.*
    FROM TABLE1 INNERJOIN TABLE2 ON TABLE1.ID = TABLE2.TABLE1ID
    WHERE TABLE1.ID = (whatever)

  • Setting up connectorJ in Netbeans

    How do I include the MySQL jdbc connectorJ in Netbeans? I've added the driver to the driver listing however it keeps telling me it cannot find the classes in the CLASSPATH. How do I change the CLASSPATH?

    In Netbeans, you can setup the driver by choosing File -> Mount FileSystem.
    After you get to the mount screen, select archive Files under File Systems and click Next. Choose the jar file that comes with the driver. Click on Finish, you should be able to use the driver now.

  • Setting Compile Options in NetBeans

    Hello,
    I am trying to set the "deprecated" compiler flag using NetBeans, but I am unable to work out how. I've searched the web, and checked the NetBeans website, but unable to find anything relevant, or find a NetBeans forum to post this question.
    Any help would be great.
    Thank you for your time.
    Bob Read

    On NetBeans 3.6:
    Tools -> Options -> Building -> Compiler Types -> External Compilation

  • Error message when setting up MySql

    I have created a database using MySQL 4/5 as the driver. I am
    getting an error saying this:
    Connection verification failed for data source pankledb.
    java.sql.SQLException: Access denied for user"@'localhost'
    (using password: NO)
    The root cause was that: java.sql.SQLException: Access denied
    for user "@'localhost' (using password: NO)
    What does this mean?
    (I am sure the error is coming from the fields that need to
    be filled in when i create a database in the coldfusion
    administrator. All that i have filled in at the moment is the CF
    Data Source name. What else needs to be completed?)
    I filled in the CF data source name (pankledb), and I filled
    in the database as C:\ColdFusion8\db\pankledb

    Coldfusion needs a username and password to log to the MySQL
    database. You may use the root account. However, for security
    reasons, it is usually recommended to create a non-root account for
    Coldfusion. Check out the MySQL documentation on how to create an
    account.

Maybe you are looking for

  • How can we protect the  ztable non key fields data in sm30 display.

    Hi experts,      I have created tablemaintenence generator for one z table, in sm30 user has access to enter the data. in that maintenence i have to protect the non key field values data  like once the user saves his data.than in the edit mode it has

  • I'm trying to install i tunes on my pc

    i'm trying to install itunes on my pc and the status bar stops progressing. i fell asleep and 3 hours later, it was still stuck there. can anyone help me resolve this?

  • Photoshop, Why letter for Image become blurry ?

    Hi, does anyone can help. I have made slider image for my site with adobe photoshop. I set the DPI 200 when saving to JPG, beacuse for site I thing doesn't need very big image, but whe i upload to my site its become little bit blurry. I have tried to

  • Another sql query

    Hi, I have a manager table whose data is as below. create table manager (dept_id number, manager_id number,subject varchar2(20),salary number(4,2)); insert into manager values(10, 1, subject_1,5); insert into manager values(10, 2, subject_1,5); inser

  • Scrollbars/Viewports etc.

    Hello, I am new to Swing, well, sort of, but I have a problem that I'm not really looking for the answer to, more just in case there's some sort of weird bug that I'm not aware of. I don't want to be banging my head against a brick wall! I'm trying t