Connecting to a LIVE mySQL database via Dreamweaver (ASP)

Hi All,
Have a bit of of an issue with connecting to my live database... I've created several sites in PHP and each time its been really easy to set up a connection to the live database (on a shared server), and work using live data... but I can't figure out how to do it when working on an ASP (vb) site!? Can anyone direct my on how to do it please? ... or direct to some documentation on the subject? Cheers!
Regards,
Dan

Sorry for jumping into the thread with a bit of an off topic question, but how do you find out what kind of a db the asp server is using? I've asked my company's web host a number of times for info/help in getting connected using Dreamweaver so I can redesign our site and I never hear back from them. It's a very specialized web hosting server set up for rubber stamp web sites. Looks like most of their customers use the online website design tool that they provide, but it is very limited in what it can do. Very limited.
They give me ftp access and I've changed what I can on the page, but with out access to the db it's hard to really change the look of the site.
Here's the link:
http://www.tacomarubberstamp.com

Similar Messages

  • Connection error mysql database in Dreamweaver

    the error message is - HTTP error code 404 file not found. here are some possible reasons
    screen shot - http://netwizlk.site50.net/images/DW-error.jpg
    1)there is no testing server running on the server machine.
    2)the testing server specified for this site does not map to the http://localhost/_mmServerScripts/MMhTTPDB.php verify that the URL prefix maps to the root of the site.
    guy pls help me to solve this problem. I tried several times to connect my mysql database with dreamweaver but ended up having this error I reinstalled dreamweaver cs4 and XAMPP still the error is not rectified my both remote and local files are stored in XAMPP server location called in c:\xampp\htdocs\htdocs\myweb
    anybody who could give me a speedy solution for this issue will be highly appreciated thanks alot guys.

    c:\xampp\htdocs\htdocs\myweb
    MM serverscripts must be at the root level of the virtual server, that is directly in the htdocs folder.
    Mylenium

  • How  to connect .... MYSQL database via JSP

    Hello,
    I am not able to connect mysql database via JSP... everytime i try to connect the database i get the following error .....
    "java.lang.NoClassDefFoundError: org/aspectj/lang/Signature" ..
    my jsp code is ....
    <%@ page import = "java.sql.*" %>
    <%
    Connection conn = null;
    Statement smt = null;
    ResultSet rs = null;
    %>
    <%
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/mydatabase","username" ,"password");
    smt = conn.createStatement();
    rs = smt.executeQuery("select * from table");
    out.println("output is "+ rs.getString("my field"));
    rs.close();
    %>
    I have installed ............
    jdk1.5.0_02
    MySQL Server 4.1
    there are two jar files .. i tried with both jar files ..
    mysql-connector-java-3.1.8-bin.jar
    mysql-connector-java-3.1.8-bin-g.jar
    tomcat server 5.5.9
    my path .... is
    C:\Program Files\Java\jdk1.5.0_02\bin;C:\jakarta-tomcat-5.5.9\bin;C:\program files\mysql\mysql server 4.1\bin;
    any help on this error ..at the earliest ..
    ... am worried ..bcoz my deadlines is getting closer .....
    .. step by step .. procedure .. could be helpful ..
    anil

    Find out the JAR which contains the class and add it
    to WEB-INF/classes directory for your web application.WEB-INF/classes directory ..means ..C:\jakarta-tomcat-5.5.9\common\classes .. is that the one i need to keep my jar files ....???????????
    well i have downloaded .. mysql database connector from the website "http://www.mysql.com/products/connector/j/ " .. and i have downloaded MySQL Connector/J 3.1..under which i have downloaded "Source and Binaries (zip)" ..
    anil

  • Connection of Forms6i with MySQL database

    Hi all,
    Can any knows how to connect Form builder to MySQL Database.
    I'am using Oracle Form builder 6i
    and MySQL 3.23 Under Windows NT 4.0( Service pack 5a)
    Pls give me your valuable suggestion
    Regards,
    Seema

    use odbc

  • Connecting to database via Dreamweaver

    Hi All
    I am trying to build a site using asp.net and SQL Server via
    Dreamweaver.!!!! To help me on my way I decided to build a tiny
    test site just to establish the connections. However, try as I
    might I can’t make a connection to a database and am now
    rapidly loosing the will to live due to the quite unbelievable time
    I have spent trying to sort this out. Now this post is my last best
    chance.
    I am trying to connect to either of the databases that come
    with the freebee SQL Server package (Is it called express or
    something?). They are pubs and Northwind.
    I am using Dreamweaver 8, XP Professional with the .Net
    framework v2.0 and IIS.
    However, when testing the connection in Dreamweaver I get a
    choice of two different error messages depending on my
    computer’s mood (I don’t change ANYTHING) The first is
    the beautifully succinct and entirely unhelpful “an
    unidentified error has occurred”. The second reads:
    1) There is no testing server running on the server machine
    2) The testing server specified for this site does not map to
    the
    ttp://Localhost/RootFolder/_mmServerScripts/MMHTTPDB.asp URL,
    Verify that the URL Prefix maps to the root of the site.
    After more hours trawling the net for answers, than I care to
    admit to I decided in desperation to try out the Dreamweaver
    tutorial that deals with these things (Café Townsend) to see
    if it offered any clues. However, when attempting to connect to the
    database (tutorial.mdb) I get the same two error messages:
    “an unidentified error has occurred”.
    1) There is no testing server running on the server machine
    2) The testing server specified for this site does not map to
    the
    ttp://Localhost/MySampleApps/_mmServerScripts/MMHTTPDB.asp
    URL, Verify that the URL Prefix maps to the root of the site. Again
    dependent on my computer’s mood.
    I am convinced that I have all the necessary components in
    place and my connection strings are correct (I am aware that the
    path given in the Dreamweaver tutorial for Café Townsend is
    incorrect and have altered the string accordingly).
    I now strongly believe the problem is something to do with
    the MMHTTPDB.asp file in the _mmServerScripts folder but could
    easily be wrong.
    Does anyone know of a problem with Dreamweaver of this nature
    or one that would result in my error message for either an Access
    database or a SQL Server database?
    I know Dreamweaver MX had a problem viewing database tables
    whilst using .net and Adobe created a patch to fix the problem. Has
    Dreamweaver 8 any similar problems?
    I’m sorry this post is a bit long but trust me I could
    have made it three times as long if I included everything I have
    tried to resolve this!
    Any help in the right direction would be appreciated more
    than you can imagine.
    Cheers
    Burnsie

    Sorry for jumping into the thread with a bit of an off topic question, but how do you find out what kind of a db the asp server is using? I've asked my company's web host a number of times for info/help in getting connected using Dreamweaver so I can redesign our site and I never hear back from them. It's a very specialized web hosting server set up for rubber stamp web sites. Looks like most of their customers use the online website design tool that they provide, but it is very limited in what it can do. Very limited.
    They give me ftp access and I've changed what I can on the page, but with out access to the db it's hard to really change the look of the site.
    Here's the link:
    http://www.tacomarubberstamp.com

  • Connecting a MYSQL database in Dreamweaver

    Hi All,
    I'm tryting to connect a mysql database based locally and am getting the error:
    HTTP Error Code 404 File Not Found. Here are some possible reasons for the problem:
    1) There is no testing server running on the server machine.
    2) The testing server specified for this site does not map to the http://localhost/_mmServerScripts/MMHTTPDB.php. Verify that
    the URL Prefix maps to the root of the site.
    What does this mean?
    How do I start the testing server? I'm unable to locate the folder where the database files are stored as the database has been created locally on my machine.  Everything hace been created locally so I know that point 2) could well be irrelavant.
    Please can somebody help?
    Many Thanks
    Gordon

    The functions for connecting to a database were mostly deprecated.  But if you enable them in CS6 Cloud/CC then they will be the same.

  • Connecting to MySql Database via a JDialog

    Hello,
    I have a JDialog Box that connects the user to a database, the username is taken through a JTextField and passwork through JPassword field the problem is that the password isn't evaluated rightly........... and hence the application ends in an exception. Here is the code of the method which is executed when a button is pressed....
    void UserLogin(ActionEvent e) {
      Connection con;
      user = UserName.getText();
      pass = Password.getPassword().toString();
      try{
       Class.forName("com.mysql.jdbc.Driver");
      catch (Exception se){
      se.printStackTrace();
      try{
       con = DriverManager.getConnection("jdbc:mysql://localhost:3306/test?user="+user+"&password="+Password.getPassword());// I used the variable pass too but it wouldn't work, the variable user is perfect
       System.out.println(con.toString());
       catch (Exception se){
        se.printStackTrace();
       System.out.println(pass);
       this.setVisible(false);
    }Please solve this problem for me!

    Overview Package Class Use Tree Deprecated Index Help
    JavaTM 2 Platform
    Standard Ed. 5.0
    PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes
    SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD
    java.lang
    Class String
    java.lang.Object
    java.lang.String
    All Implemented Interfaces:
    Serializable, CharSequence, Comparable<String>
    public final class Stringextends Objectimplements Serializable, Comparable<String>, CharSequenceThe String class represents character strings. All string literals in Java programs, such as "abc", are implemented as instances of this class.
    Strings are constant; their values cannot be changed after they are created. String buffers support mutable strings. Because String objects are immutable they can be shared. For example:
    String str = "abc";
    is equivalent to:
    char data[] = {'a', 'b', 'c'};
    String str = new String(data);
    Here are some more examples of how strings can be used:
    System.out.println("abc");
    String cde = "cde";
    System.out.println("abc" + cde);
    String c = "abc".substring(2,3);
    String d = cde.substring(1, 2);
    The class String includes methods for examining individual characters of the sequence, for comparing strings, for searching strings, for extracting substrings, and for creating a copy of a string with all characters translated to uppercase or to lowercase. Case mapping is based on the Unicode Standard version specified by the Character class.
    The Java language provides special support for the string concatenation operator ( + ), and for conversion of other objects to strings. String concatenation is implemented through the StringBuilder(or StringBuffer) class and its append method. String conversions are implemented through the method toString, defined by Object and inherited by all classes in Java.

  • MySQL databases and dreamweaver

    Please, somebody help me!!
    I am on a Mac. I have my site up but can't use it because of
    the database issues I am having.
    1. I don't write code - hence my purchase of Dreamweaver
    2. My host will not allow me to connect to MySQL
    (server-side) and suggested I try an SSH. I got Navicat.
    It seems I need to connect to the database through
    Dreamweaver in order to create my PHP pages. I don't know how to do
    it or if it is possible using an SSH (Navicat)
    Also I don't understand the whole "test server" thing. It was
    suggested I connect my Mac to a Windows machine to create a testing
    server. Is this really necessary? I have an external hard drive
    with tons of space. Can I use that? Are there any other options? I
    don't know a single Mac user who has a spare windows machine lying
    around.
    My site is ready to go but useless unless I can this
    database-access problem solved. I need to create PHP pages but
    cannot do it without some sort of access to my database.
    Please HELP!!!

    See if this helps:
    http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php_05.html
    Ken Ford
    Adobe Community Expert - Dreamweaver
    Fordwebs, LLC
    http://www.fordwebs.com
    "farfalle" <[email protected]> wrote in
    message news:ff5t8j$da5$[email protected]..
    > Please, somebody help me!!
    >
    > I am on a Mac. I have my site up but can't use it
    because of the database
    > issues I am having.
    >
    > 1. I don't write code - hence my purchase of Dreamweaver
    > 2. My host will not allow me to connect to MySQL
    (server-side) and suggested I
    > try an SSH. I got Navicat.
    >
    > It seems I need to connect to the database through
    Dreamweaver in order to
    > create my PHP pages. I don't know how to do it or if it
    is possible using an
    > SSH (Navicat)
    >
    > Also I don't understand the whole "test server" thing.
    It was suggested I
    > connect my Mac to a Windows machine to create a testing
    server. Is this
    > really necessary? I have an external hard drive with
    tons of space. Can I use
    > that? Are there any other options? I don't know a single
    Mac user who has a
    > spare windows machine lying around.
    >
    > My site is ready to go but useless unless I can this
    database-access problem
    > solved. I need to create PHP pages but cannot do it
    without some sort of
    > access to my database.
    >
    > Please HELP!!!
    >

  • Connecting to an online mysql database

    Good morning,
    I've been developing a website using Dreamweaver, Coldfusion,
    and MySQL on my local computer. On the localhost the website works
    well. Now I'm ready to upload my pages and need to update the data
    source so my pages can access the MySQL databases hosted by
    GoDaddy.com. I've had no luck talking with their customer service
    about which driver / which port I should use to make the
    connection. I understand that Remote Development Services (RDS) is
    disabled on their server. Am I missing any steps? Any ideas?
    Thanks,
    Tony

    This TechNote may help:
    http://www.adobe.com/go/kb400539

  • Problem connecting my webservice to mysql database

    Hi,
    I am trying to connect a webservice to a mysql database. I am using sun application server 8.1 and Mysql 4.1.
    I have been using the application servers examples to achieve my goals thus far. I have made the following progress.
    - I have got a simple jdbc web application on the application server to access my mysql database.
    - I have got a web service on the application server to work properly, in regards to performing a simple rpc method such as 'sayHello'.
    - I now want my webservice to have similar functionality to the jdbc application. A simple query or update to the database installed on the application server invoked from the webservice deployed on the application server.
    I have been having difficulty in achieveing this. I don't understand why I can't get this to work as i can achieve access to the database from the jdbc app. I am getting the following errors on the application server log:
    [#|2005-03-01T14:22:59.739+0000|INFO|sun-appserver-pe8.1|javax.enterprise.syste m.stream.out|_ThreadID=16;|
    retrieving_initial_context...|#]
    [#|2005-03-01T14:22:59.789+0000|INFO|sun-appserver-pe8.1|javax.enterprise.syste m.stream.out|_ThreadID=16;|
    retrieved_initial_context_successfully|#]
    [#|2005-03-01T14:22:59.789+0000|INFO|sun-appserver-pe8.1|javax.enterprise.syste m.stream.out|_ThreadID=16;|
    recording_the_greeting...|#]
    [#|2005-03-01T14:22:59.789+0000|INFO|sun-appserver-pe8.1|javax.enterprise.syste m.stream.out|_ThreadID=16;|
    getting_datasource...|#]
    [#|2005-03-01T14:22:59.799+0000|INFO|sun-appserver-pe8.1|javax.enterprise.syste m.stream.out|_ThreadID=16;|
    got_datasource_successfully|#]
    [#|2005-03-01T14:22:59.799+0000|INFO|sun-appserver-pe8.1|javax.enterprise.syste m.stream.out|_ThreadID=16;|
    getting_connection...|#]
    [#|2005-03-01T14:22:59.819+0000|INFO|sun-appserver-pe8.1|javax.enterprise.syste m.stream.out|_ThreadID=16;|
    got_connection_successfully|#]
    [#|2005-03-01T14:22:59.819+0000|INFO|sun-appserver-pe8.1|javax.enterprise.syste m.stream.out|_ThreadID=16;|
    getting_statement...|#]
    [#|2005-03-01T14:22:59.819+0000|INFO|sun-appserver-pe8.1|javax.enterprise.syste m.stream.out|_ThreadID=16;|
    got_statement_successfully|#]
    [#|2005-03-01T14:22:59.819+0000|INFO|sun-appserver-pe8.1|javax.enterprise.syste m.stream.out|_ThreadID=16;|
    executing_query...|#]
    [#|2005-03-01T14:22:59.900+0000|INFO|sun-appserver-pe8.1|javax.enterprise.syste m.stream.out|_ThreadID=16;|
    could_not_interact_with_db|#]
    [#|2005-03-01T14:22:59.910+0000|INFO|sun-appserver-pe8.1|javax.enterprise.syste m.stream.out|_ThreadID=16;|
    excpetion: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:
    ** BEGIN NESTED EXCEPTION **
    java.io.IOException
    MESSAGE: An established connection was aborted by the software in your host machine
    STACKTRACE:
    java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:25)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:233)
    at sun.nio.ch.IOUtil.read(IOUtil.java:206)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:207)
    at com.sun.enterprise.server.ss.ASInputStream.read(ASInputStream.java:75)
    at com.sun.enterprise.server.ss.ASInputStream.read(ASInputStream.java:66)
    at com.mysql.jdbc.util.ReadAheadInputStream.fill(ReadAheadInputStream.java:75)
    at com.mysql.jdbc.util.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(Re adAheadInputStream.java:94)
    at com.mysql.jdbc.util.ReadAheadInputStream.read(ReadAheadInputStream.java:122)
    at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1842)
    at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2292)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2788)
    at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1534)
    at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1625)
    at com.mysql.jdbc.Connection.execSQL(Connection.java:2291)
    at com.mysql.jdbc.Connection.execSQL(Connection.java:2226)
    at com.mysql.jdbc.Statement.executeQuery(Statement.java:1159)
    at goodbyeservice.GoodbyeImpl.sayGoodbye(Unknown Source)
    at goodbyeservice.GoodbyeIF_Tie.invoke_sayGoodbye(GoodbyeIF_Tie.java:54)
    at goodbyeservice.GoodbyeIF_Tie.processingHook(GoodbyeIF_Tie.java:124)
    at com.sun.xml.rpc.server.StreamingHandler.handle(StreamingHandler.java:321)
    at com.sun.xml.rpc.server.http.JAXRPCServletDelegate.doPost(JAXRPCServletDelegate. java:443)
    at com.sun.enterprise.webservice.JAXRPCServlet.doPost(JAXRPCServlet.java:50)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil terChain.java:257)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterCha in.java:55)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.ja va:161)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain .java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 263)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextVal ve.java:225)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java: 173)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:13 2)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:184)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.ja va:653)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.ja va:534)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.jav a:403)
    at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    ** END NESTED EXCEPTION **
    I can't think of what the problem may be other then the following issues:
    - the mysql database would allow access from the jdbc application as it is seen as a local process whereas it may not for the webservice as it is seen as a remote process???
    - I may need to utilize a different datasource class to give the webservice access rights?
    Any help or advice in how this problem might be resolved or even just what it is would help me greatly. Thanks for you time in advance.
    Alvee

    The driver is in right place
    Originally I placed him in wrong directory and got an error, indicationg, that Driver class is not found, but then I corrected it, The problem is in connection to database - it doesn't work.
    I tired to load the same driver into Netbeans and could easyli create a connection to database, but I get it not working ander Sun Application server

  • Trying to connect remotely to a MySQL database

    Hi.
    I'm trying to connect to a MySQL database remotely (located on the internet).
    I'm behind a proxy too.
    The code I use is:
    public class MysqlConnect{
    public static void main(String[] args) {
    System.out.println("MySQL Connect Example.");
    Connection conn = null;
    String url = "jdbc:mysql://216.75.32.55:3306/";
    String dbName = "**********";
    String driver = "com.mysql.jdbc.Driver";
    String userName = "***********";
    String password = "*************";
    try {     
    Class.forName(driver);
    conn = DriverManager.getConnection(url+dbName,userName,password);
    System.out.println("Connected to the database");
    conn.close();
    System.out.println("Disconnected from database");
    } catch (Exception e) {
    e.printStackTrace();
    but i get nested exception like this:
    com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:
    ** BEGIN NESTED EXCEPTION **
    java.net.ConnectException
    MESSAGE: Connection timed out: connect
    STACKTRACE:
    java.net.ConnectException: Connection timed out: 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:208)
    at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:173)
    at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:267)
    at com.mysql.jdbc.Connection.createNewIO(Connection.java:2739)
    at com.mysql.jdbc.Connection.<init>(Connection.java:1553)
    at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
    at java.sql.DriverManager.getConnection(DriverManager.java:582)
    at java.sql.DriverManager.getConnection(DriverManager.java:185)
    at consola.MysqlConnect.main(MysqlConnect.java:25)
    ** END NESTED EXCEPTION **
    Last packet sent to the server was 31 ms ago.
    at com.mysql.jdbc.Connection.createNewIO(Connection.java:2814)
    at com.mysql.jdbc.Connection.<init>(Connection.java:1553)
    at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
    at java.sql.DriverManager.getConnection(DriverManager.java:582)
    at java.sql.DriverManager.getConnection(DriverManager.java:185)
    at consola.MysqlConnect.main(MysqlConnect.java:25)
    Can you please tell me what am I doing wrong?
    Thank you

    I'm behind a proxy too.Does this proxy allow connections on port 3306?

  • Submitting Pdf form fields to a MySQL database via PhP

    Hi there,
    I have recently created a Pdf in Adobe LiveCycle which looks great, and I have added a submit button which is set up to send all the form data in HTML to a PhP file on the server side. The PhP file then collects the form data and inserts it into my MySQL database.
    When I run this form from Adobe reader or Professional it works great and the new record is inserted in the database. However I am trying to embed the form into a HTML page, which again looks fine, and all other buttons i.e. Save As, Print work fine.
    The submit button however is not working properly now. It inserts a new record into my database, but the fields are blank as if the form data has not been sent or received?
    Can you possibly advise me where i'm going wrong.
    Much appreciated
    Cane

    Hi Cane,
    I'm relatively new to creating Adobe Forms but I'm looking to do exactly what you have set up, submitting the results to php which sends the results to a database. I don't like the responses being sent to a pdf response file then every so often you have to export to csv then import the results into a database....too tedious. Can you perhaps provide the code that goes behind the submit button and maybe the code that you use on the php/server side? Again, relatively new to this and don't know where to begin but if I can look at the code behind this it would make things a lot easier.
    Thanks,
    Ed

  • Connecting mysql database to dreamweaver

    when i try to upload database which i did in mysql to the
    webserver from dreamweaver by doing: view - live data in
    dreamweaver i get this message: "the testing server did not execute
    any of the scripts in your document.possible explanations
    include:1. the testing server is not running 2. the testing server
    ignores files with the php. extension. 3. your document does not
    contain any scripts"
    my webserver is xampp (appache + mysql) and below are the
    scripts which i used:
    also when i do F12 the images in the database appear gibrish
    on the webserver page.
    what did i do wrong ?

    noa2 wrote:
    > when i try to upload database which i did in mysql to
    the webserver from
    > dreamweaver by doing: view - live data in dreamweaver i
    get this message: "the
    > testing server did not execute any of the scripts in
    your document.possible
    > explanations include:1. the testing server is not
    running 2. the testing server
    > ignores files with the php. extension. 3. your document
    does not contain any
    > scripts"
    It sounds as though you have not defined the testing server
    correctly in
    your Dreamweaver site definition.
    > my webserver is xampp (appache + mysql) and below are
    the scripts which i used:
    > also when i do F12 the images in the database appear
    gibrish on the webserver
    > page.
    You should not store images inside the database. Or if you
    do, you need
    to write a proxy script to display them. The normal procedure
    is to
    store the details of images (such as filename) in the
    database, but keep
    the images themselves in the normal file system. Use the
    filename from
    the recordset result to build the <img> tag to display
    the image.
    > mysql_connect("","","");
    Using mysql_connect() with only empty strings as arguments
    means you
    have a totally unprotected database.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Unable to connect to MySQL database in Dreamweaver CS3

    I have been working on this problem for hours and am getting
    very frustrated. I hope someone can help me out.
    My FTP server and MYSQL server have to use two different
    hosts.
    I will be using false information in this post but hopefully
    someone can help me out.
    FTP info
    domainname.com
    username
    password
    MySQL info
    123.servername.com
    dblogin
    dbpass
    port: 3306
    Now im sure the problem lies with the Testing Server.
    Server Model: PHP MYSQL
    Access: FTP
    FTP Host:domainname.com
    host directory: web/htdoc (this is the folder which holds ALL
    of the files which can be reached by domainname.com)
    login: username
    password: password
    url prefix:
    http://www.domainname.com
    when i try to use this information and then add a database
    using the (+) I get access denied errors.
    I have tried using 'localhost' as the server and
    '123.servername.com'
    I should mention that I am able to connect to the database
    remotely using the same information using software such as SQL
    Maestro, so I know that it isnt the database.
    can someone who has successfully done this kind of connection
    please tell me what is supposed to go where, the help documents are
    horrible at best.

    This may, or may not, help...
    For those using MySQL - Installing PHP and MySQL on Windows
    XP
    http://www.webassist.com/professional/products/solutionrecipes.asp

  • Help on working with MySQL databases in Dreamweaver

    I am new to the world of dynamic webpages. I have been
    following along on the Lynda.com videos Dreamweaver CS3: Beyond the
    Basics, and Dreamweaver CS3: Dynamic Development, and have
    basically got it figured out for doing stuff on my local computer.
    However, I can't quite figure out what steps I have to take so that
    I can take my database driven site live. I use hosting with both
    ASTHost and GoDaddy. My hosting with each, I believe, is on Linux
    servers (GoDaddy for sure Linux, ASTHost may be MS). I am designing
    with DW CS3, and using WAMP as the PHP server on my pc. I am also
    using MySQL version 5.0. My PHP version is 5.1.2 with ASTHost and
    GoDaddy.
    Can anyone point me to a good tutorial or site that explains
    how to move the site from your own pc at home onto a hosting server
    and make it work? I have tried a few things, but keep running into
    MySQL errors.

    I have seen a good solution at http://webdesignsolutions.co.in/add-phtml-extension-in-dreamweaver , this is very simple.

Maybe you are looking for

  • Java Server Faces best Practices

    Hello, I am starting to like JSF. But I want to know the following. Where is the contoller in a JSF application, is it the Managed Bean???? or a Backing Bean? Should I put my Business Delegate on a Managed Bean? or in a Backing Bean? What is the diff

  • Admin Context - Do i need to assign interfaces for Mgmt?

    I am building out 2 virtual firewalls using contexts in an active/active F/O pair, and would like to know if it is necessary to assign at least one interface to the admin context? My other contexts will have outside, inside, DMZ and stateful F/O inte

  • C++ debug library error after upgrade

    I have only one user using Hyperion and needed an upgrade to Oracle's Hyperion® Essbase® – System® 9 Service Fix 9.3.1.2.06 augments Release 9.3.1.2.00. After the upgrade install, we encountered this message at the Windows logon. "Microsoft Visual C+

  • Clear content pane problems

    can anyone tell why can't I clear the content pane in the following code or a method to achieve this thing? thank you. * To change this template, choose Tools | Templates * and open the template in the editor. package librabrymanagementf; import java

  • CS3 on Mac OSX (the "spinning rainbow of distress..." :)

    hi guys, I'm running the CS3 suite on a  new iMac (OSX 10.6.8), and since I tried to do an online update, I've been having horrible problems with the "spinning rainbow" mac cursor.  I tried re-installing to undo the update (DW only), but the spinning