Help with database

hi, all,
I just downloaded/installed jDevelope 10g, when I create database connections, I can see all the tables in MySQL database, but nothing at MS SQL, both were connected no problem. So, is there is anything/setting I missed in MS SQL?
Thanks in advance.

hi, all,
I just downloaded/installed jDevelope 10g, when I create database connections, I can see all the tables in MySQL database, but nothing at MS SQL, both were connected no problem. So, is there is anything/setting I missed in MS SQL?
Thanks in advance.

Similar Messages

  • Help with database... plzzz

    Hi, I am trying to create a simple form in Java... What I am trying to do is enter a particular User ID and it should display all the information, regarding that userId... I am a starter.. Just trying to do some database stuffs.. I was wondering if anyone can help me with this without the help of JDBC.. thank you... So far I have created a form, textfield and buttons.. thats it..

    Thank for the help with the last problem, but now i am facing another one. The database and the forms works fine independently. But i cannot connect them, what i mean is if i click "insert" button to insert data into the database, the database window does not show up. i used the same code for the forms and it worked fine.. here is the code that i was using..
    private void xInsertRecordBtnMouseClicked(java.awt.event.MouseEvent evt) {                                             
            try
                this.setVisible(false);
                teamproject.EmployeeForm.class.newInstance().setVisible(true);
            } catch (InstantiationException ex)                                            
                Logger.getLogger(Main_Higher_Access.class.getName()).log(Level.SEVERE, null, ex);
            } catch (IllegalAccessException ex)
                Logger.getLogger(Main_Higher_Access.class.getName()).log(Level.SEVERE, null, ex);
            }I wonder if there is any other way to import the data from the database into the form. or.. to show the database..
    i am getting the following errors....
    Exception in thread "AWT-EventQueue-0" Local Exception Stack:
    Exception [TOPLINK-4002] (Oracle TopLink Essentials - 9.1 (Build b36-rc)): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLTransientConnectionException: java.net.ConnectException : Error connecting to server localhost on port 1527 with message Connection refused: connect.Error Code: -4499
            at oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:289)
            at oracle.toplink.essentials.sessions.DefaultConnector.connect(DefaultConnector.java:87)
            at oracle.toplink.essentials.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:170)
            at oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:537)
            at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:206)
            at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:212)
            at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:78)
            at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:111)
            at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:105)
            at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:76)
            at teamproject.NewMasterDetailForm.initComponents(NewMasterDetailForm.java:29)
            at teamproject.NewMasterDetailForm.<init>(NewMasterDetailForm.java:14)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
            at java.lang.Class.newInstance0(Class.java:355)
            at java.lang.Class.newInstance(Class.java:308)
            at teamproject.Main_Higher_Access.xInsertRecordBtnMouseClicked(Main_Higher_Access.java:150)
            at teamproject.Main_Higher_Access.access$100(Main_Higher_Access.java:16)
            at teamproject.Main_Higher_Access$2.mouseClicked(Main_Higher_Access.java:52)
            at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
            at java.awt.Component.processMouseEvent(Component.java:6041)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
            at java.awt.Component.processEvent(Component.java:5803)
            at java.awt.Container.processEvent(Container.java:2058)
            at java.awt.Component.dispatchEventImpl(Component.java:4410)
            at java.awt.Container.dispatchEventImpl(Container.java:2116)
            at java.awt.Component.dispatchEvent(Component.java:4240)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3995)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
            at java.awt.Container.dispatchEventImpl(Container.java:2102)
            at java.awt.Window.dispatchEventImpl(Window.java:2429)
            at java.awt.Component.dispatchEvent(Component.java:4240)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    Caused by: java.sql.SQLTransientConnectionException: java.net.ConnectException : Error connecting to server localhost on port 1527 with message Connection refused: connect.
            at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown Source)
            at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source)
            at org.apache.derby.jdbc.ClientDriver.connect(Unknown Source)
            at java.sql.DriverManager.getConnection(DriverManager.java:582)
            at java.sql.DriverManager.getConnection(DriverManager.java:154)
            at oracle.toplink.essentials.sessions.DefaultConnector.connect(DefaultConnector.java:85)
            ... 40 more
    Caused by: org.apache.derby.client.am.DisconnectException: java.net.ConnectException : Error connecting to server localhost on port 1527 with message Connection refused: connect.
            at org.apache.derby.client.net.NetAgent.<init>(Unknown Source)
            at org.apache.derby.client.net.NetConnection.newAgent_(Unknown Source)
            at org.apache.derby.client.am.Connection.<init>(Unknown Source)
            at org.apache.derby.client.net.NetConnection.<init>(Unknown Source)
            at org.apache.derby.client.net.NetConnection40.<init>(Unknown Source)
            at org.apache.derby.client.net.ClientJDBCObjectFactoryImpl40.newNetConnection(Unknown Source)
            ... 44 more
    Caused by: java.net.ConnectException: Connection refused: connect
            at java.net.PlainSocketImpl.socketConnect(Native Method)
            at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
            at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
            at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
            at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
            at java.net.Socket.connect(Socket.java:519)
            at java.net.Socket.connect(Socket.java:469)
            at java.net.Socket.<init>(Socket.java:366)
            at java.net.Socket.<init>(Socket.java:179)
            at org.apache.derby.client.net.OpenSocketAction.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            ... 50 more
    [TopLink Info]: 2007.12.05 12:04:07.281--ServerSession(16607409)--TopLink, version: Oracle TopLink Essentials - 9.1 (Build b36-rc)
    Exception in thread "AWT-EventQueue-0" Local Exception Stack:
    Exception [TOPLINK-4002] (Oracle TopLink Essentials - 9.1 (Build b36-rc)): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLTransientConnectionException: java.net.ConnectException : Error connecting to server localhost on port 1527 with message Connection refused: connect.Error Code: -4499
            at oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:289)
            at oracle.toplink.essentials.sessions.DefaultConnector.connect(DefaultConnector.java:87)
            at oracle.toplink.essentials.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:170)
            at oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:537)
            at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:206)
            at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:212)
            at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:78)
            at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:111)
            at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:105)
            at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:76)
            at teamproject.NewMasterDetailForm.initComponents(NewMasterDetailForm.java:29)
            at teamproject.NewMasterDetailForm.<init>(NewMasterDetailForm.java:14)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
            at java.lang.Class.newInstance0(Class.java:355)
            at java.lang.Class.newInstance(Class.java:308)
            at teamproject.Main_Higher_Access.xInsertRecordBtnMouseClicked(Main_Higher_Access.java:150)
            at teamproject.Main_Higher_Access.access$100(Main_Higher_Access.java:16)
            at teamproject.Main_Higher_Access$2.mouseClicked(Main_Higher_Access.java:52)
            at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
            at java.awt.Component.processMouseEvent(Component.java:6041)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
            at java.awt.Component.processEvent(Component.java:5803)
            at java.awt.Container.processEvent(Container.java:2058)
            at java.awt.Component.dispatchEventImpl(Component.java:4410)
            at java.awt.Container.dispatchEventImpl(Container.java:2116)
            at java.awt.Component.dispatchEvent(Component.java:4240)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3995)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
            at java.awt.Container.dispatchEventImpl(Container.java:2102)
            at java.awt.Window.dispatchEventImpl(Window.java:2429)
            at java.awt.Component.dispatchEvent(Component.java:4240)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    Caused by: java.sql.SQLTransientConnectionException: java.net.ConnectException : Error connecting to server localhost on port 1527 with message Connection refused: connect.
            at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown Source)
            at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source)
            at org.apache.derby.jdbc.ClientDriver.connect(Unknown Source)
            at java.sql.DriverManager.getConnection(DriverManager.java:582)
            at java.sql.DriverManager.getConnection(DriverManager.java:154)
            at oracle.toplink.essentials.sessions.DefaultConnector.connect(DefaultConnector.java:85)
            ... 40 more
    Caused by: org.apache.derby.client.am.DisconnectException: java.net.ConnectException : Error connecting to server localhost on port 1527 with message Connection refused: connect.
            at org.apache.derby.client.net.NetAgent.<init>(Unknown Source)
            at org.apache.derby.client.net.NetConnection.newAgent_(Unknown Source)
            at org.apache.derby.client.am.Connection.<init>(Unknown Source)
            at org.apache.derby.client.net.NetConnection.<init>(Unknown Source)
            at org.apache.derby.client.net.NetConnection40.<init>(Unknown Source)
            at org.apache.derby.client.net.ClientJDBCObjectFactoryImpl40.newNetConnection(Unknown Source)
            ... 44 more
    Caused by: java.net.ConnectException: Connection refused: connect
            at java.net.PlainSocketImpl.socketConnect(Native Method)
            at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
            at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
            at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
            at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
            at java.net.Socket.connect(Socket.java:519)
            at java.net.Socket.connect(Socket.java:469)
            at java.net.Socket.<init>(Socket.java:366)
            at java.net.Socket.<init>(Socket.java:179)
            at org.apache.derby.client.net.OpenSocketAction.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            ... 50 more
    [TopLink Info]: 2007.12.05 12:05:01.921--ServerSession(16607409)--TopLink, version: Oracle TopLink Essentials - 9.1 (Build b36-rc)
    Exception in thread "AWT-EventQueue-0" Local Exception Stack:
    Exception [TOPLINK-4002] (Oracle TopLink Essentials - 9.1 (Build b36-rc)): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLTransientConnectionException: java.net.ConnectException : Error connecting to server localhost on port 1527 with message Connection refused: connect.Error Code: -4499
            at oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:289)
            at oracle.toplink.essentials.sessions.DefaultConnector.connect(DefaultConnector.java:87)
            at oracle.toplink.essentials.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:170)
            at oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:537)
            at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:206)
            at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:212)
            at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:78)
            at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:111)
            at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:105)
            at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:76)
            at teamproject.NewMasterDetailForm.initComponents(NewMasterDetailForm.java:29)
            at teamproject.NewMasterDetailForm.<init>(NewMasterDetailForm.java:14)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
            at java.lang.Class.newInstance0(Class.java:355)
            at java.lang.Class.newInstance(Class.java:308)
            at teamproject.Main_Higher_Access.xInsertRecordBtnMouseClicked(Main_Higher_Access.java:150)
            at teamproject.Main_Higher_Access.access$100(Main_Higher_Access.java:16)
            at teamproject.Main_Higher_Access$2.mouseClicked(Main_Higher_Access.java:52)
            at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
            at java.awt.Component.processMouseEvent(Component.java:6041)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
            at java.awt.Component.processEvent(Component.java:5803)
            at java.awt.Container.processEvent(Container.java:2058)
            at java.awt.Component.dispatchEventImpl(Component.java:4410)
            at java.awt.Container.dispatchEventImpl(Container.java:2116)
            at java.awt.Component.dispatchEvent(Component.java:4240)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3995)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
            at java.awt.Container.dispatchEventImpl(Container.java:2102)
            at java.awt.Window.dispatchEventImpl(Window.java:2429)
            at java.awt.Component.dispatchEvent(Component.java:4240)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    Caused by: java.sql.SQLTransientConnectionException: java.net.ConnectException : Error connecting to server localhost on port 1527 with message Connection refused: connect.
            at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown Source)
            at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source)
            at org.apache.derby.jdbc.ClientDriver.connect(Unknown Source)
            at java.sql.DriverManager.getConnection(DriverManager.java:582)
            at java.sql.DriverManager.getConnection(DriverManager.java:154)
            at oracle.toplink.essentials.sessions.DefaultConnector.connect(DefaultConnector.java:85)
            ... 40 more
    Caused by: org.apache.derby.client.am.DisconnectException: java.net.ConnectException : Error connecting to server localhost on port 1527 with message Connection refused: connect.
            at org.apache.derby.client.net.NetAgent.<init>(Unknown Source)
            at org.apache.derby.client.net.NetConnection.newAgent_(Unknown Source)
            at org.apache.derby.client.am.Connection.<init>(Unknown Source)
            at org.apache.derby.client.net.NetConnection.<init>(Unknown Source)
            at org.apache.derby.client.net.NetConnection40.<init>(Unknown Source)
            at org.apache.derby.client.net.ClientJDBCObjectFactoryImpl40.newNetConnection(Unknown Source)
            ... 44 more
    Caused by: java.net.ConnectException: Connection refused: connect
            at java.net.PlainSocketImpl.socketConnect(Native Method)
            at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
            at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
            at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
            at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
            at java.net.Socket.connect(Socket.java:519)
            at java.net.Socket.connect(Socket.java:469)
            at java.net.Socket.<init>(Socket.java:366)
            at java.net.Socket.<init>(Socket.java:179)
            at org.apache.derby.client.net.OpenSocketAction.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)Edited by: saggu_baba on Dec 5, 2007 12:06 PM

  • Help with Databases

    Hey,
    I was recently approached by a friend to develop a system for his work. This system would require me to store information in a database that would be easy to access. However the only experience I have of coding with databases is with php and mySQL and I'm not quite sure how to move on to using Java.
    I'm a 2nd year software engineering student and I frequently use java in my projects but I never used it to store information in a database.
    Can someone point me in the right direction? Point me to a good ressource?
    Any help is appreciated,
    Thanks
    Seb

    Yes, start with a tutorial on JDBC:
    http://java.sun.com/docs/books/tutorial/jdbc/
    MySQL has a JDBC driver JAR you can download:
    http://www.mysql.com/products/connector/j/
    All the SQL you know ports right over.
    %

  • Can anyone help with database driven design

    Hi,
    I would like to determine the best way to serve large amounts
    of text on an html page. I have manuals with lots of links that I
    want to add to a website. I would like to employ database driven
    web development in my design, would this be a good use for it? If
    so would you suggest php and what database?
    Thanks!
    Please forgive me for double posting, I posted this in the
    general forum but maybe should have done it here first?

    I would say it totally depends on the format that the manuals
    are in. If they're HTML than you can store them as BLOB's in mysql
    and you're life will be rather easy. You would need to parse the
    blob output for URLs but that's about it.
    However, if the manuals are in PDF than a database wouldn't
    help with the storage of the actual files, however you can use
    either XML or a DB (i.e. mysql) to store the metadata about that
    manual so that you can at least make the site searchable.
    A little more information about your data/website would
    probably be helpful.
    Aram

  • Help with database autentication schemes

    Hi
    I am new to apex, especialy with database autentication schemes, and I need some help with creating login credentials for 3 types of users from a table in my database.
    Any help and guidance would be apriciated.
    Thanks in advance,
    Voislav

    What Oracle Version you are using?

  • Please help with database connection issue

    Hi,
    I've created a few connections and pages with a few recodsets on my local computer and am connecting fine with the database. I've uploaded the database via phpmyadmin onto a remote server and uploaded all my pages to the website and have changed the database info, user name and password in the connections folder but when I try to load the file I get a message "no database selected". I've tried various things but no luck. I'm selecting the database name but something is missing. Any help would be appreciated.
    Derek

    A bit more info: Here is the connection script as its defined in Dreamweaver: <?php
    # FileName="Connection_php_mysql.htm"
    # Type="MYSQL"
    # HTTP="true"
    $hostname_karen_product = "localhost";
    $database_karen_product = "karen";
    $username_karen_product = "root";
    $password_karen_product = "root";
    $karen_product = mysql_pconnect($hostname_karen_product, $username_karen_product, $password_karen_product) or trigger_error(mysql_error(),E_USER_ERROR);
    ?>
    Where is says mysql_pconnect, I changed the $hostname_karen_product etc to 'localhost', 'username', 'the password for the database')
    Do i need to do something different at $database_karen_product?
    I'm basically new at this and confused as to how to alter this connection script.
    Thanks
    Derek

  • Help with database connection

    ok I am trying to use dreamweaver's database function to
    connect to a mysql database, i fill in the info and it gives me the
    following error:
    "an unidentified error has occurred"
    I know all the info i am putting in is correct as I am copy
    and pasting it directly out of my connection properties in navicat
    mysql editor which can connect to the database fine
    i tried connecting to multiple databases on multiple servers
    and every single one returned the exact same error
    I am using Dreamweaver CS3 for Mac OSx
    thx for any help
    -Ryan

    Have you gone under the Application folder and clicked on the
    plus (+) sign and created the connection to the database.
    Also, do you have username and password on the database? If
    so, you'll have to provide this information
    I don't use MAC or PHP a great deal. So my help can be rather
    limited. I'm just thinking about connection strings
    What web server are you using? MAke sure it's running and set
    up correctly. Test the server first and see if it's working. If so
    see what connections string Dreamweaver is providing. I know Apache
    had a few bugs with various version just Windows has had in the
    past, not sure how these work with OSX

  • Help with Database Connected LiveCycle ES4 form

    Hello and thanks for taking the time to read this question, I hope you can help!
    I have a LiveCycle ES 4 form connected to an excel database.  The form has buttons to "Add", "Update" or "Find" a record.  These buttons all work correctly EXCEPT when the server drive that has the Excel file is not available.  In this case I wanted to add code the "Add" button informing the user that there is an error.  I tried adding a try/catch block before the SQL statement that inserts a record into excel but even when I purposely make the Excel file unavailable the try/catch block doesn't seem to work.  The javascript console will show an error but try/catch doesn't seem to trigger.  If I had a javascript syntax error within the try/catch block, it works as expected, but with the database connected form, it appears the try/catch block does not trigger based on errors generated as a result of the database file having an issue.  In this case, the console just shows a "GeneralError: Operation failed." message.  Why doesn't the try/catch block trigger since there is an error as stated on the console?  Is there a work around?  Thanks again for your help!!

    Hello and thanks for taking the time to read this question, I hope you can help!
    I have a LiveCycle ES 4 form connected to an excel database.  The form has buttons to "Add", "Update" or "Find" a record.  These buttons all work correctly EXCEPT when the server drive that has the Excel file is not available.  In this case I wanted to add code the "Add" button informing the user that there is an error.  I tried adding a try/catch block before the SQL statement that inserts a record into excel but even when I purposely make the Excel file unavailable the try/catch block doesn't seem to work.  The javascript console will show an error but try/catch doesn't seem to trigger.  If I had a javascript syntax error within the try/catch block, it works as expected, but with the database connected form, it appears the try/catch block does not trigger based on errors generated as a result of the database file having an issue.  In this case, the console just shows a "GeneralError: Operation failed." message.  Why doesn't the try/catch block trigger since there is an error as stated on the console?  Is there a work around?  Thanks again for your help!!

  • Help with database access

    I was installing Oracle 8i Lite in my Win ME box, but when I try to access to POLITE database, there is an error like this:
    ERROR: OCA-30002: ubofcsr: function not supported. If I cancel the mesage then another error appear:
    ORA - 12203: TNS: can't connect with the destinity (or something like that)
    Whats matter???

    you may need to verify that WinME is a supported platform for Oracle Lite. I know that there were some issues installing on Win2K which may also affect WinME. try to reinstall but first clear your machine of Oracle specific items in your registry. there are some documents on metalink.oracle.com that go over the procedure to clearing your machine of oracle products - Document numbers 103213.1 and 74790.1 go through the procedures to follow to remove and install.
    hope this helps.

  • Need help with database configuration

    Hi all,
    I have an Oracle 9i release 2 Database running on Windows server 2000. There I intend to insert data using a consol application. The program runs fine from other machines connected to it through lan and data is inserted all right. But when I run the program on the same machine as the database server, it gives the following error message
    "ORA-01843: not a valid month
    ORA-06512: at "FASTDB.SPINSMODSALESCENTERSMESSAGES", line 16
    ORA-06512: at line 1 .."
    The program is written in C# and the server has .NET FrameWork 2.0 and MDAC 2.6 installed.
    I don't understand if the program were wrong, then how does it run properly from other machines. And if it runs correctly on the other machines then why doesn't it run on the server machine..
    The procedure looks like this
    CREATE OR REPLACE PROCEDURE SPInsModSalesCentersMessages(pv_1MessageId integer,
         pv_2requestMsgs varchar2,
    pv_3replyMsgs varchar2,
    pv_4messageStatus integer,
         pv_5outStatus out integer,
         pv_6SerialNo varchar2,
         pv_7SaveDateTime varchar2)
    AS
    vn_IsMsgsId integer;
    BEGIN
         pv_5outStatus:=-1;
         SELECT count(1) into vn_IsMsgsId
         FROM TBLDataTranc_Client
         WHERE TBLDataTranc_Client.messageId = pv_1MessageId;
         IF vn_IsMsgsId = 0 then
              INSERT INTO TBLDataTranc_Client(messageId,serialNo,saveDateTime,resquestMsgStr,replyMsgStr,messageStatus)
              VALUES(pv_1MessageId,pv_6SerialNo,to_date(pv_7SaveDateTime,'mm/dd/yyyy hh12:mi:ss AM'),pv_2requestMsgs,pv_3replyMsgs,pv_4messageStatus);
         ELSE
              UPDATE TBLDataTranc_Client
              SET      resquestMsgStr=pv_2requestMsgs,
              replyMsgStr=pv_3replyMsgs,
              messageStatus=pv_4messageStatus,
              serialNo=pv_6SerialNo,
              saveDateTime=to_date(pv_7SaveDateTime,'mm/dd/yyyy hh12:mi:ss AM')
              WHERE TBLDataTranc_Client.messageId = pv_1MessageId
              and TBLDataTranc_Client.messageStatus =1;
              pv_5outStatus:=1;
         END if;
    end;
    Please help me if you can.

    Hi ...
    You can use a StatsPack for guess the best distribution memory with your DB needs.
    See metalink Note:228913.1
    Regards

  • Help with database column

    I have a report with a column that come from table.
    This column is a number and I need change the sign if a condition is true.
    I try do this in a format trigger and in a trigger in Data Model (right clik mouse on this item Program Unit). But in both cases it say me when compile :
    Err 903. A READ-ONLY VARIABLE USED IN OUT OR IN-OUT CONTEXT.
    That mind that I cannot use this variable in this point. Also I try to change the Var and use a User Variable and change the value in the moment of read or print with similar results.
    Any help wellcome.
    Regards Everybody.

    Why do you not use a database function which will have your businesslogic and will return the changes value.
    Create function business1 (p_val in number) return number is
    begin
    <your logic here>
    return(l_modified_value);
    end;
    in your report query just use the function.
    select business1(<your_column> as "my alias" from .....
    That should work
    Marcos

  • NEED HELP WITH DATABASE WEB SERVICE INTEGRATION

    Hello everybody. I have created a web service with returns a list of records extracted from a database. It works, Apex references the web service and get the result when I test it, but I want to display results in a page type "Form and Report on Web Service" and when I associate the web service to the page and click on "Finish Button" I get this message:
    "This Web service does not have a result tree in its definition that is appropriate for a report. You may wish to run the Form on Web Service wizard instead.".
    It is correct, of course, but I do not have an example of how to do an appropriate definition for this kind of report.What kind of definition is it waiting for? What I do in the web service is to return a list of items (a resultset of a query such as "SELECT PRODUCTID, PRODUCTNAME, PRICE, IMAGEHREF FROM PRODUCTS") concatenated in a string (commas-separated values). What kind of output must the web service produce or how have I to structure the associated wsdl document in order to display the result with a "form and report on web service" page?
    Every help or example is welcome.
    Thanks a lot and have a nice day
    Stefano-ITALY

    i saw that it is giving this below error but not sure why ??
    org.apache.axis2.AxisFault: Exception occurred while trying to invoke service method registerEmployee
    at org.apache.axis2.util.Utils.getInboundFaultFromMes sageContext(Utils.java:486)
    at org.apache.axis2.description.OutInAxisOperationCli ent.handleResponse(OutInAxisOperation.java:343)
    at org.apache.axis2.description.OutInAxisOperationCli ent.send(OutInAxisOperation.java:389)
    at org.apache.axis2.description.OutInAxisOperationCli ent.executeImpl(OutInAxisOperation.java:211)
    at org.apache.axis2.client.OperationClient.execute(Op erationClient.java:163)
    at webservice.EmployeeServiceStub.registerEmployee(Em ployeeServiceStub.java:488)
    at webservice.EmployeeClient.main(EmployeeClient.java :22)can anyone suggest why this might come ?
    thanks

  • Need help with database migration using export/import

    Hi,
    I am planning to do a database migration from 8.0.6 to 10.2.0.4. I am using export/import. Please answer some of my queries:
    1) Do i need to do full export using SYS/SYSTEM user.
    exp80 system/manager file=c:full.dmp log=c:\full.txt full=y consistent=y
    2) Will there be any data corruption while export.
    3) Is export/import the only method of migration/upgradation.
    Please help
    Thanks.

    I'll answer the specifics that I know about your questions, but please look at the post from Srini for additional info:
    1) Do i need to do full export using SYS/SYSTEM user.
    exp80 system/manager file=c:full.dmp log=c:\full.txt full=y consistent=yA full export will move as much information (metadata/data) as possible. In order to do a full export/import, you need to do this from a
    privileged account. A privileged account is one with EXP_FULL_DATABASE for export and IMP_FULL_DATABASE for import.
    2) Will there be any data corruption while export.The data in the objects that you are exporting is being read, nothing is written to user data. I'm not sure what this is available in 8.0.6,
    but if you need a consistent export, look to see if consistent=y is available in 8.0.6. All this means is that the dump file created will have
    consistent data in it.
    3) Is export/import the only method of migration/upgradation.If you are changing hardware, the only supported way from 8.0 to 10.2.0.4, that I know of, is using exp/imp.
    Hope this helps.
    Dean

  • Student needs help with database planning

    Preliminary Plan
    I work at the headquarters of a small company of 8 offices and 26 employees. I am the central database system. Right now, information is only accessible through me, by me, from me, and to me via fax, phone, mail, or email. I have several spreadsheets with different information resulting from personal information, cell phone information, laptop information, government vehicle information, contract information, and training information.
    I want to develop a database that will automatically keep track of this information as entered by the user. Whenever there is a change or update, the system will be able to automatically accept this information into the system. Information will come from each workstation in the office that only the managers and I can see. The managers will however only have access to their individual employee information, but I will have access to ALL the employee information. All information created, provided, and maintained between me and the managers will be conducted through RDBMS. Triggers will be used so that information can be updated or inserted through SQL. LAN-to-LAN connections are already in place so that information on the network can be accessible. Preliminary plan is as follows:
    WEEK 2: January 15-21, 2007
    Develop preliminary plan for two sentence concept of BPS
    WEEK 3: January 22-28, 2007
    Finalization of preliminary plan
    Creating the database i.e., connecting, granting privileges, adding systems
    Designing and creating tables, databases which are already in spreadsheet format
    WEEK 4: January 29-February 4, 2007
    Designing and creating tables, databases which are already in spreadsheet format
    Installing, configuring, and securing the database;
    WEEK 5: February 5-11, 2007
    Develop triggers using SQL; test database
    WEEK 6: February 12-18, 2007
    Design, develop, and test user interface application
    WEEK 7: February 19-25, 2007
    Test application again. Test database again. Test project application and database together.
    WEEK 8: February 26-March 4, 2007
    Finalize project details to incorporate into a PowerPoint presentation for submission.
    WEEK 9: March 5-11, 2007
    Demonstrate and present project. Evaluations due.

    My major is information system. I want to be able to
    access information from all 8 stations where the user
    inputs the information, but only have access to their
    employees and I will have access to all 26 employees.
    I being the central database system.Still quite vague, if you ask me. If it's just an entry formular with user authentification, your time schedule may work. Installing XE and developing with APEX could just be the right tool for this job, but without any further information (data structures, authentification concept, user interface) it will remain pure speculation from my side. Why not ask your teacher if he/she thinks your plan is reasonable?
    C.

  • Need urgent help with database startup

    dear all,
    i am using oracle 10g on windower server 32 bit.
    i try to startup my database today, and it give me error, and it is my production database,
    i need very urgent help from you.(i have no rman backup , and the data is not so necessory, since it is for student practice.)
    SQL> startup open
    ORACLE instance started.
    Total System Global Area  524288000 bytes
    Fixed Size                   790180 bytes
    Variable Size             250343772 bytes
    Database Buffers          272629760 bytes
    Redo Buffers                 524288 bytes
    Database mounted.
    ORA-01110: data file 34: 'G:\ORACLE\DATAFILES_ACADEMY\ACADEMY'
    ORA-01115: IO error reading block from file 34 (block # 1)
    ORA-27070: async read/write failed
    OSD-04016: Error queuing an asynchronous I/O request.
    O/S-Error: (OS 23) Data error (cyclic redundancy check).regards.

    Maahjoor wrote:
    Hi dears,
    i need further assistance from your side, i have restarted the server, but the same problem.
    as there a way to drop and re-create a system tablespace? since the file 34 belong to system tablesapce.
    regardsNo.
    So just create a new database. That will take all of ten minutes. And tell your students to create new tablespaces. That will take them two minutes.

  • Hi nid help with database and web

    hi to all! i wanted to get some help on how to connect to a database in a web... i dont know if its javascript,java applet,or jsp... could some1 pls give me a code on how to make a simple login database connection in a web through java.. i really nid it guys... we have our contest next week... pls.. i really nid your help... tnx!

    hi to all! i wanted to get some help on how to
    connect to a database in a web... what do you know about databases and the web today?
    i dont know if its
    javascript,java applet,or jsp... yes.
    could some1 pls give
    me a code on how to make a simple login database
    connection in a web through java.. (1) create a table USER in your favorite relational
    database - id, username, and password should be
    enough.
    (2) Use HTML to create a login form - username and
    password text fields and a submit button will be
    good.
    (3) Write a JSP using JSTL <sql> tags to query the
    database and put the result into request scope.
    (4) Redirect to a success JSP to demonstrate a
    successful login, or back to the login if it fails.
    i really nid itI hope this helps.
    guys... we have our contest next week... pls.. i
    really nid your help... tnx!What do "we" win? Will you be listing me as the sole
    developer if I write this for you?
    My rate is $120 USD per hour. Give a credit card
    number and I'll get right on it.<Actually its just a contest for our intramurals.. i was just hoping if u guys could help me ... thnx!

Maybe you are looking for