Setting the runtime environment for MySQL & creating tables,compile query

Hi....
i am a new user of MySQL server.i don't know the Rutime Environment on my machine.so please tell me how can i set the environment for MySQL.
How can i create tables & compile query please tell me?

All of those are MySQL only questions. Nothing to do with JDBC.
There are MySQL forums. And there is certainly lots of MySQL documentation. So what of that have you read?

Similar Messages

  • How can i set the alternating colors for a table rows

    Dear All,
    Please any one help me how can i set the Alternating colors for Table Rows.
    i created a theam there i set the background alternating color to brown and i set the table design properity to alternating. but it is not reflecting.

    Hi,
    The design property in Table properties should work for your requirement. Select "alternating" value for design.
    Please see the API below:
    design
    Determines the appearance of the table. The property design can take the following values and is represented by enumeration type WDTableDesign.
    alternating - The table rows are displayed alternately in a different color.
    standard - The table background has one color. The individual table rows are displayed with grid net lines.
    transparent - The table background is transparent. The individual table rows are displayed without grid net lines.
    Check whether you have changed the right property or not? Also table should contain more than one rows to test this scenario.
    Regards,
    Jaya.
    Edited by: VJR on Jun 17, 2009 6:43 PM

  • Runtime environment for the production apex instance

    My first goal is to export a full application from a full development environment to a runtime environment.
    The two environments are on dedicated servers.
    From Oracle Application Express documentation and Oracle Application Express Forum, I realized that to install an exported application into a runtime installation, you must:
    1) Export the workspace from the Application Express instance where the application was developed. The export file created contains information about the workspace, all the users in the workspace, and any groups in the workspace (if applicable).
    2) Use SQL*Plus to import your workspace in to the runtime environment.
    3) Export and then import your application (with Supporting Objects) using SQLPlus in to the runtime environment. The related files
    This means that to be able to import an application via SQL*Plus from a development environment to a runtime environment, the workspace must exist (with the identical workspace ID) in the runtime environment. And the best way to ensure that the workspace IDs are the same is to export the workspace from the development apex instance and import it into the runtime apex instance.
    Also, you can't change the application ID through SQL*Plus - so if you're importing the application via SQL*Plus, either a) that application ID can't exist, or b) if it does exist, it will be overwritten by the import (of course, in case b we don't export/import also supporting objects).
    I know that there are some tricks, like editing the application export file just to import into a workspace with a different ID in the production runtime environment. But i wuold like to be official supported ;)
    So in my case i think i could, for the first export/import:
    1) Convert the production apex instance from runtime environment into a full development environment.
    2) Export the workspace from the development instance using the apex administration services (in a text file).
    3) Import the exported workspace into the production instance using the text file created and SQLPlus connect as APEX_030200.
    FOR THE NEXT POINT 4 I ASSUME THAT EXPORTING/IMPORTING A WORKSPACE DOES NOT INCLUDE THE SCHEMAS ASSOCIATED WITH THE WORKSPACE.
    4)
    a1) Create a new schema for the supporting objects of applications in the production instance with a DBA tool.
    a2) Assign the schema created in the production instance to the workspace imported from the development instance, using the apex administration services.
    or, if you want apex creating the schema for the supporting objects of applications:
    4)
    b1) Create a new workspace (with a new schema) in the production instance using the apex administration services.
    b2) Delete the workspace created in the production instance: the schema will not be removed.
    b3) Assign the schema created to the workspace imported from the development instance.
    5) Delete the users and eventually the groups in the imported workspace in the production instance, using the apex administration services.
    6) Change the name of the imported workspace in the production instance, using the apex administration services.
    7) Convert the production apex instance from full development environment to runtime environment.
    8) Export the application (with supporting objects) from development instance, using the export page.
    9) Import the application (with supporting objects) to the production instance using SQLPlus connect as APEX_030200.
    10) Export all associated files (related files) of the application (CSS, Images, Themes, ...) from developmente instance, using the tabs located at the top of the export page.
    11) Import the related files to the production instance using SQLPlus connect as APEX_030200.
    So, for next the next releases of the application i can again export the full application:
    1) Export the application (without supporting objects) from development instance, using the export page.
    2) Import the application (without supporting objects) to the production instance using SQLPlus connect as APEX_030200.
    3) Export all updated associated files (related files) of the application (CSS, Images, Themes, ...) from developmente instance, using the tabs located at the top of the export page.
    4) Import the exported related files to the production instance using SQLPlus connect as APEX_030200.
    or i can export and import single pages of the application.
    Excuse me for the long introduction, but the question is:
    what i have written is correct? Please let me know also your advice.
    Thanks a lot.
    Silvio

    HI,
    Thanks for responding.
    Should the APEX_ADMIN be available in a runtime environment?
    If so, we have missed a step in our installation.
    Keisha

  • Setting the colour red for an input field or a text-field in a table

    Hy,
    I am using an input-field or text-field within a table-cell. For some rows in the table the text in the input-field / text-field should be red. How can I do this ?
    Florian Hroch

    Create a new attribute "TextColor" of type "com.sap.ide.webdynpro.uielementdefinitions.TextViewSemanticColor" (local DDIC types), under the table's data source node.
    Bind the "TextView.semanticColor" property of the table cell editor to this attribute.
    If you cannot add new attributes under the data source node (this is the case if there is a structure binding), add a value node "TableProperties" (cardinality 1:1, selection 1:1) under the data source node and add the attribute there.
    Then you can control the color of the TextView in table row at index i by setting the "TextColor" value for node element at index i.
    For an input field, you cannot set the text color, a workaround might be adding an icon in an extra column.
    Armin

  • Unable to set the ip address for hosted network client after creating WIFI hotspot

    Original Title: INTERNET CONNECTIVITY PROBLEM WITH MY LAPTOP WIFI HOTSPOT
    HI all
    I am able to use internet connection from my lap hotspot, when the internet source is Public or private wifi.
    so I know the cmd window commands for hotspot and settings of client(sharing to hosted network client, assigning IP address etc.,)
    but the problem I am facing is slight different
    I am using my cdma wireless broadband datacard as my source internet connection(Reliance netconnect +)
    when I try to create hotspot for this, as usual I am able to create the hotspot and able to share the internet to hostednework client.
    but I am unable to set the ip address for hosted network client, if I try to set ip 192.169.137.1 and 255.255.255.0
    as soon as I close the window, the ip address also disappears
    when connect my android phone to that hotspot, it is able to connect but there is no internet connectivity.
    when I check the hostednetwork client for packet transmission, both sent and received packet is happening., I mean transmitting
    so what cause the failure in internet connectivity but success in hotspot connectivity?
    check the screen shots...
    can u help me..
    its little complicated

    Hi,
    Please make sure the Ad hoc connection IP adress is at the same range with your local connection. In addition, how about recreate the ad hoc connection for test, please have a try.
    If problem persists, please use Network troubleshooter in Action Center to fix this problem for test.
    Roger Lu
    TechNet Community Support

  • TZupdater for the Java Runtime Environment for jdk/jre 1.6

    B"H
    Hi,
    I need the TZupdater for the Java Runtime Environment for 1.6, unfortunately the only one that I can find on the Oracle/Java site is :
    Java Time Zone Updater Tool 1.3.57
    The TZUpdater tool is to enable an Oracle JDK 7 or JRE 7 user to patch their installation with the most recent timezone data
    Can someone please point me to the relevant link for JDK 6 or JRE 6
    Thank you in advance
    Yechezkel

    Hello Yechezkel,
    You download any version from this link
    Timezone Data Versions in the JRE Software
    This gives the JRE Update Release release and the corresponding TZUpdater Version
    Regards,
    Debbie

  • How do you set the font color for a specific entire row inside a JTable?

    How do you set the font color for a specific entire row inside a JTable?
    I want to change the font color for only a couple of rows inside a JTable.
    I've seen some ways to possibly do this with an individual cell.
    Clarification on changing the font color in an individual cell would be helpful too if
    there is no easy way to do this for a row.

    hai,
    Try out with this piece of code.Create your table and assign the renderer to each column in the table.
    CellColorRenderer m_CellColorRenderer = new CellColorRenderer();
    for(int i=0;i<your_JTable.getColumnCount();i++)
    your_JTable.getColumnModel().getColumn(i).setCellRenderer(m_CellColorRenderer);
    class CellColorRenderer extends JLabel implements TableCellRenderer
    CellColorRenderer()     
    setOpaque(true);     
    setHorizontalAlignment(LEFT);
    setVerticalAlignment(CENTER);
    setBackground(Color.white);
    setForeground(Color.black);
    protected void setValue(Object value)
         setText((value == null) ? "" : value.toString());
    public Component getTableCellRendererComponent(JTable table,Object value,boolean isSelected, boolean hasFocus, int row,int column)
         if(isSelected == true)
              setForeground(Color.red);
         else
              setForeground(Color.black);
         setValue(value);
         return this;
    regards,
    bala

  • How to setup the cluster environment for BPM using weblogic

    want to setup the cluster environment for BPM using weblogic....
    i have installed the oracle weblogic server 10gr3 and oracle BPM enterprise for weblogic 10gR3
    i have used the Admin tools from the "oracle BPM enterprise for weblogic" to setup the configuration and create the weblogic domain servers.
    i can launch the process administrator and import the project exp file to domain server.
    but what should i do to setup cluster environment using weblogic?
    what i want to do is :
    setup one admin machine..
    setup two product machine..
    enable the cluster so the admin machine can monitor the status of the product machine..
    thanks a lot ...

    The install guide at http://download-llnw.oracle.com/docs/cd/E13154_01/bpm/docs65/config_guide/index.html gives a reasonable amount of info on how to do this.
    Personally I have not used the OBPM option to configure WebLogic instead I've used the information in the above install guide to create the weblogic domain in advance of configuring OBPM.
    Once you've setup WebLogic configure OBPM using the values I mention in the following thread: How to set the JMX Engine parameter in Process Administation?
    Let me know any specific config questions and I'll do my best to answer them for you.
    Thanks,
    Mike

  • Setting a Filter on a dynamically created Table

    Hi All,
    I am currently working on a Database to automatize some process. Quick explanation:
    The User can import a CSV (Text) File via a DialogBox, which gets imported into a Table. After this, the content has to be filtered, setting conditions on 4 different rows. The new Table gets exported into a new CSV (It has to be CSV, since it later gets imported
    into SAP)
    I am having some trouble with filters though:
    How can I set a Filter on a dynamically created Table (using VBA)?
    Best case would be to save the filter into my Import spec, but Access doesn't seem to have this option (?)
    Can somebody help?
    Thanks in advance
    Regards
    Alex

    Thanks for the fast reply! Sorry, I am not really proficient at Access. How do I do a query on a dynamically created Table? Do I have to save the Table into a Variable. Or what's the way to import it?
    Hi Alex,
    I never use the Import functionality, nor DoCmd.TransferText.
    To import data from a csv-file I made my own Import functionality. In fact it is just reading an external file, line by line, and each line field by field using the field separator. In my opinion that is far more versatile than the standard functionality.
    But you can use the standard functionality of Access to import a csv-file into a table.
    Having the data in a table, you can generate the appropriate query for the output in a VBA procedure:
            sql_string = "SELECT Field1, Field2, ... FROM MyTable WHERE Field1 = ... AND Field2 = ... ORDER BY Field3"
    and make a recordset of it:
            Set cur_set = CurrentDb(sql_string)
    The output csv-file is then filled by opening a file for Write, loop through all the records, concatenate for each record all the wanted fields using the field separator, and write the result line to the csv-file.
    Most important is to understand this process. After that it should be possible to build it. And if you have further questions, just ask.
    Imb.

  • Unexpected error compiling the runtime metadata for Split-Join.

    Hi Everyone,
    We are getting below error while restarting the managed servers on Weblogic. We are having 6 managed servers in our cluster. In one of the application in OSB10.3, we are using SplitJoin to call third party webservices. The application is getting deployed properly, and sometimes on one of the managed nodes, we are seeing below error during startup. The servers are coming into Running mode as per the console, but in logs we are seeing the error. No services are accessible on that particular managed node. We have to restart the server and by luck, it will come up properly. This is inconsistent behaviour from the managed servers. Below is the stack trace from stdout files. Any help would be greatly appreciated...
    <Jan 24, 2012 5:49:34 PM CST> <Error> <OSB FLOW Kernel> <BEA-2031003> <Split-Join deployment error during load notification: Unexpected error compiling the runtime metadata for Split-Join: "FISRecXferInqServiceV2_0/SplitJoin/RecXferInqSJ".
    com.bea.bpel.compiler.CompilerException: Unexpected error compiling the runtime metadata for Split-Join: "FISRecXferInqServiceV2_0/SplitJoin/RecXferInqSJ".
    com.bea.bpel.compiler.CompilerException: Unexpected error compiling the runtime metadata for Split-Join: "FISRecXferInqServiceV2_0/SplitJoin/RecXferInqSJ".
         at com.bea.alsb.flow.compiler.ProcessMetaDataFactory.create(ProcessMetaDataFactory.java:99)
         at com.bea.alsb.flow.resources.ResourceDeployer.deploy(ResourceDeployer.java:104)
         at com.bea.alsb.flow.resources.ResourceDeployer.access$100(ResourceDeployer.java:64)
         at com.bea.alsb.flow.resources.ResourceDeployer$LoadListener.onLoad(ResourceDeployer.java:545)
         at com.bea.wli.config.impl.ResourceListenerNotifier.sendLoadNotificationsInContext(ResourceListenerNotifier.java:239)
         Truncated. see log file for complete stacktrace
    >
    <Jan 24, 2012 5:49:34 PM CST> <Error> <ConfigFwk> <BEA-000000> <Failed in onLoad. Will not deliver the remainder of onLoad notifications to this listener.
    java.lang.RuntimeException: Unexpected error compiling the runtime metadata for Split-Join: "FISRecXferInqServiceV2_0/SplitJoin/RecXferInqSJ".
         at com.bea.alsb.flow.resources.ResourceDeployer$LoadListener.onLoad(ResourceDeployer.java:551)
         at com.bea.wli.config.impl.ResourceListenerNotifier.sendLoadNotificationsInContext(ResourceListenerNotifier.java:239)
         at com.bea.wli.config.impl.ResourceListenerNotifier.access$400(ResourceListenerNotifier.java:41)
         at com.bea.wli.config.impl.ResourceListenerNotifier$1.execute(ResourceListenerNotifier.java:152)
         at com.bea.wli.config.transaction.TransactionalTask._doExecute(TransactionalTask.java:217)
         Truncated. see log file for complete stacktrace
    com.bea.bpel.compiler.CompilerException: Unexpected error compiling the runtime metadata for Split-Join: "FISRecXferInqServiceV2_0/SplitJoin/RecXferInqSJ".
         at com.bea.alsb.flow.compiler.ProcessMetaDataFactory.create(ProcessMetaDataFactory.java:99)
         at com.bea.alsb.flow.resources.ResourceDeployer.deploy(ResourceDeployer.java:104)
         at com.bea.alsb.flow.resources.ResourceDeployer.access$100(ResourceDeployer.java:64)
         at com.bea.alsb.flow.resources.ResourceDeployer$LoadListener.onLoad(ResourceDeployer.java:545)
         at com.bea.wli.config.impl.ResourceListenerNotifier.sendLoadNotificationsInContext(ResourceListenerNotifier.java:239)
         Truncated. see log file for complete stacktrace

    Most 8.1 development was done with Workshop (the version before Eclipse integration). It is not set up to do Workshop Framework builds with Eclipse OOTB.
    If you are going to use Eclipse, then I would guess that your builds would be best done using Ant or similar. Check out the wls web service samples that install with the product and see if you can use any of those as a basis for using ANT in Eclipse.
    This is only theory, as I have not worked extensively with 8.1.

  • How to set the connection parameters for SQL

    How to set the connection parameters for SQL to access the MS Access database
    Attachments:
    Quick_SQL.vi ‏21 KB
    Doc1.doc ‏45 KB
    db1.mdb ‏112 KB

    Right-click the WINDOWS desktop, choose New->Microsoft Data Link. That will bring up a dialog that allows you to configure and test your database connection. You might connect to the Access database via ODBC or directly via Jet Engine. The Jet Enginge saves you the trouble of creating an ODBC connection on your PC. After you leave the dialog, the "data link" will show up on your desktop as text file. Open it and copy-paste the connection string to your VI.
    This webpage is an excellent resource for connection strings: http://www.able-consulting.com/ADO_Conn.htm
    If your application requires users to change the database connection at runtime, you can also include the dialog via ActiveX (MSDASC.IDataSourceLocator).

  • How to delete the data loaded into MySQL target table using Scripts

    Hi Experts
    I created a Job with a validation transformation. If the Validation was failed the data passed the validation will be loaded into Pass table and the data failed will be loaded into failed table.
    My requirement was if the data was loaded into Failed database table then i have to delete the data loaded into the Passed table using Script.
    But in the script i have written the code as
    sql('database','delete from <tablename>');
    but as it is an SQL Query execution it is rising exception for the query.
    How can i delete the data loaded into MySQL Target table using scripts.
    Please guide me for this error
    Thanks in Advance
    PrasannaKumar

    Hi Dirk Venken
    I got the Solution, the mistake i did was the query is not correct regarding MySQL.
    sql('MySQL', 'truncate world.customer_salesfact_details')
    error query
    sql('MySQL', 'delete table world.customer_salesfact_details')
    Thanks for your concern
    PrasannaKumar

  • How do I set the delivery policy for a queue in iMQ 2.0?

    The list on page 67 of the 2.0 administration guide appears to be
    incomplete. Specifically, I'm interested in knowing how to set
    the default delivery policy for a Queue through the jmqobjmgr command.
    I need the valid attribute name to pass in to jmqobjmgr.

    The "queueDeliveryPolicy" is an attribute of a queue
    created in the broker - not in the administered object
    destination so that is why you are not seeing that
    attribute on the list on page 67.
    By default, the broker by will use the "single" queue delivery
    policy unless you choose to change the values of the property
    "jmq.queue.defaultdeliveryPolicy" to SINGLE, ROUND-ROBIN, or
    FAILOVER. If you would like to do this, see the Chapter 4
    in the admin guide on "Starting and Configuring the Broker".
    It may be easier to set the delivery policy for just one queue.
    To do this, you can use the following command:
    jmqcmd create dst -n myQueue -t q -o "queueDeliveryPolicy=f"
    where valid values to queueDeliveryPolicy is f, s, r.
    You can do a 'jmqcmd -H' to get more info on queue attributes or
    see Chapter 6 in the admin guide on "Creating and Destroying Destinations".

  • Sun ONE Studio 4 aka Forte: How to set the output path for classes ?

    Help !
    Beginner's question:
    Sun ONE Studio 4 aka Forte:
    How to set the output path for classes ?
    As default, the class files are created in the same directory as the
    sources.
    In opposite, both JBuilder and Together support that there is a tree
    with the sources and another tree with the classes.
    The first answer I got was "not possible with Forte, but just if you write your own "ANT Build script" !
    a) Please point me to a ready-to-use ANT script for this purpose, if such is available
    b) Is using ANT instead of the MAKE as comfortable ? Besides the separation of sourcecode and classes, I would like to keep everything else to be the same, i.e. I don�t want to edit the ANT file if I enlarge the project by directories or files.
    Tia
    Sincerely
    Rolf

    You can set S1S's options to place newly created .class files in a specific location.
    Identify the compiler that is being used - Open the S1S's Tools/Options window, expand Editing and select Java Sources. Note the Default Compiler value. (If it's one if the Ant options, you use Ant to specify this option, not S1S.)
    Open the S1S's Tools/Options window, expand Building/Compiler Types and select the appropriate compiler.
    The Properties tab of the compiler has the property Target, which sets the filesystem where the compiler output is directed. If you choose <not set>, the .class files are written to their source directory.
    When you set the Target, your change affects all classes that use this compiler.
    Very few options can't be set in S1S; the challenge is finding out where they're set!

  • Can I set the default locale for jvm

    Hi,
    Can I set the default locale for jvm?
    How to do it?
    Pan

    My windows default locale is chinese .I have thought of your opinion. But in
    windows nt , if I change the locale , all the environment will be
    destroyed(just like reinstall it , it's difficult for me) . So , Is there
    any other approach?
    Dimitri Rakitine <[email protected]> wrote in message
    news:[email protected]...
    Did you try to change the locale in the Windows control panel?
    (Control panel -> Regional Options -> Your locale)
    Pan YangBin <[email protected]> wrote:
    I have tried changing this system property and other properties such
    as -Duser.language=en -Dfile.encoding=Cp1252 , but all these properties
    did
    not changed, you can get this infomation from the log file .Maybe these
    system properties are readonly.
    Thanks very much.
    Pan
    Chris Halstead <[email protected]> wrote in message
    news:[email protected]...
    Try adding -Duser.region=US to the java command line used to start
    WebLogic...
    -chris
    "Pan YangBin" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    The problem exists in my project still exist.That is it.
    When I did not set weblogic.jsp.encoding to GB2312 in my web
    application(web.xml), and when the jsp file contain's chinese , the
    output
    will be error(error chinese) .And when I did not set it , the output
    is
    correct, but when I use request.getParameter("SomeFormElement")(theelement
    inputed chinese), the return value is error(still chinese error).And
    when
    I
    am in windows nt english version and do not set this property, all
    these
    two
    problems dispear. And I try to compare the java files those were
    generated
    by weblogic from the jsp file , there is only two additional clause
    in
    the
    java file. That's it:
    ((weblogic.servlet.jsp.JspWriterImpl)out).setEncoding("GB2312");
    response.setHeader("Content-Type", "text/html; charset=GB2312");
    (the web.xml has <context-param>
    <param-name>weblogic.jsp.encoding</param-name>
    <param-value>GB2312</param-value>
    </context-param> to be set
    So, I think maybe it works well if I change the default locale toenglish.
    And unfortunately, your method is also failed.(I have to use weblogic
    in
    chinese environment)
    Would you please help me to solve this problem?
    Pan
    Dimitri Rakitine <[email protected]> wrote in message
    news:[email protected]...
    Try java ... -Duser.language=en ...
    or mode con cp select=437 in the command prompt before running
    weblogic.
    Pan YangBin <[email protected]> wrote:
    I'm using weblogic server 5.1 sp6 in chinese environment, and I
    want
    weblogic compile my jsp with en_us locale . So I can't use
    Locale.setDefault(new Locale(...)) to set the default locale ,butI
    really
    want someway configure.
    Pan
    Dimitri Rakitine <[email protected]> wrote in message
    news:[email protected]...
    Locale.setDefault(new Locale(...)) ?
    Pan YangBin <[email protected]> wrote:
    Hi,
    Can I set the default locale for jvm?
    How to do it?
    PanDimitri
    Dimitri
    Dimitri

Maybe you are looking for