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.

Similar Messages

  • 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

  • Trouble connecting to mySql database

    Hi Forum
    I have a site hosted with Godaddy, and have created a database, but I can not connect to the database with DW.
    1)  I made made sure that the invisible file _mmServerScripts folder and the Connections folder are present both on my local machine in the root directory and on the server.
    2) I can connect to the hosting account with FTP.
    3) I can connect to the database via Goddaddy and PHPadmin.
    3) I have pointed the test server to the same url as the hosting account but to a folder in the directory that is called test_server.
    (I have used this approach before, and it worked then)
    4) I have tried to log on with the URL that PHP admin tells me: http://nbst.db.6113589.hostedresource.com/ and also with http://173.201.136.50
    5) I am getting the standard error code 404 suggesting:
    "a) There is no testing server running on the server machine
    b) The testing server specifed for this site does not map to http://173.201.144.128/_mmServerScripts/MMHTTPDB.php Url. Verify that the URL Prefix maps to the root of the site. "
    6) The error message refers to 173.201.144.128. This is an unknown IP to me. The database is supposed to be at  173.201.136.50
    What am I doing wrong??
    ggaarde

    ClassNotFoundException means the driver isn't loaded. "No suitable driver" usually tells me that the syntax in the connection URL is incorrect for some reason.
    Make sure you have an up to date driver JAR:
    http://www.mysql.com/products/connector/j/
    The driver class name should be com.mysql.jdbc.Driver
    %

  • Connecting to mysql database using DBLOGIN

    I am trying to connect to a mysql database through GG command interface and am unable to get the DBLOGIN to work correctly. Here is what I am getting:-
    mysql world -u root -p<password> (as user OS user mysql- works!)
    GGSCI (rac1) 5> DBLOGIN SOURCEDB world, USERID root, PASSWORD <password>
    2010-11-08 16:29:17 WARNING OGG-00769 MySQL Login failed: . SQL error (2002). Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    ERROR: Failed to connect to MySQL database engine for HOST localhost, DATABASE world, USER root, PORT 0.
    I am not too familiar with mysql and will appreciate help and also pointer to documents that walk through setting up and testing Golden Gate with mysql.
    Thanks,
    Satish

    hi.
    i have same problem can't connect to mysql using dblogin on ggsci, please helpme
    this my.cnf configuration
    # Example MySQL config file for small systems.
    # This is for a system with little memory (<= 64M) where MySQL is only used
    # from time to time and it's important that the mysqld daemon
    # doesn't use much resources.
    # You can copy this file to
    # /etc/my.cnf to set global options,
    # mysql-data-dir/my.cnf to set server-specific options (in this
    # installation this directory is /var/lib/mysql) or
    # ~/.my.cnf to set user-specific options.
    # In this file, you can use all long options that a program supports.
    # If you want to know which options a program supports, run the program
    # with the "--help" option.
    # The following options will be passed to all MySQL clients
    [client]
    #password     = your_password
    port          = 3306
    socket          = /tmp/mysql.sock
    #socket = /var/run/mysqld/mysqld.sock
    # Here follows entries for some specific programs
    # The MySQL server
    [mysqld]
    port          = 3306
    socket = /tmp/mysql.sock
    #socket          = /var/run/mysqld/mysqld.sock
    skip-locking
    key_buffer_size = 16K
    max_allowed_packet = 1M
    table_open_cache = 4
    sort_buffer_size = 64K
    read_buffer_size = 256K
    read_rnd_buffer_size = 256K
    net_buffer_length = 2K
    thread_stack = 128K
    # Don't listen on a TCP/IP port at all. This can be a security enhancement,
    # if all processes that need to connect to mysqld run on the same host.
    # All interaction with mysqld must be made via Unix sockets or named pipes.
    # Note that using this option without enabling named pipes on Windows
    # (using the "enable-named-pipe" option) will render mysqld useless!
    #skip-networking
    server-id     = 1
    # Uncomment the following if you want to log updates
    #log-bin=mysql-bin
    # binary logging format - mixed recommended
    #binlog_format=mixed
    # Uncomment the following if you are using InnoDB tables
    #innodb_data_home_dir = /var/lib/mysql/
    #innodb_data_file_path = ibdata1:10M:autoextend
    #innodb_log_group_home_dir = /var/lib/mysql/
    # You can set .._buffer_pool_size up to 50 - 80 %
    # of RAM but beware of setting memory usage too high
    #innodb_buffer_pool_size = 16M
    #innodb_additional_mem_pool_size = 2M
    # Set .._log_file_size to 25 % of buffer pool size
    #innodb_log_file_size = 5M
    #innodb_log_buffer_size = 8M
    #innodb_flush_log_at_trx_commit = 1
    #innodb_lock_wait_timeout = 50
    [mysqldump]
    quick
    max_allowed_packet = 16M
    [mysql]
    no-auto-rehash
    # Remove the next comment character if you are not familiar with SQL
    #safe-updates
    [myisamchk]
    key_buffer_size = 8M
    sort_buffer_size = 8M
    [mysqlhotcopy]
    interactive-timeout

  • Can I connect to MySQL database

    sorry for my English...
    I'm absolutely new in Flex
    can I connect to MySQL database?
    I read here that I need to create a java class file and edit
    an xml to create connection to oracle, can I connect to MySQL
    server too, I think that the PHP-XML is too slow to work with lare
    amounts of data... so can you post me MXML, the XML, and the JAVA
    class file, with I will be able to send sql to mysql server and get
    the response?
    or FDS is a stand-alone SQL server?

    Flex is not a SQL server.
    The Flex SDK and compiler supports developing applications
    that run in the Flash player.
    Flex Data Services is deployed as a Java web application that
    simplifies integrating Flex clients with Java server-side resources
    (including interacting with SQL databases via Java).
    FlexBuilder is an IDE for developing Flex apps.
    I'd recommend spending some time browsing the Flex product
    area on adobe.com.
    Best,
    Seth

  • I can't connect to MySQL database from The JSP Standard Tag Library

    Hi All !
    I have a problem, please help me anybody !
    I don't connect to MySQL database from jsp page using JSTL tag but from servlet all work correctly. I set my path and put �mysql-connector-java-3.1.13-bin.jar� in ENVIRONMENT WinXP(classpath=C:\Java\jdk1.5.0_10\jre\lib\ext\mysql-connector-java-3.1.13-bin.jar) and in War project folder �WEB-INF/lib� and in [TomcatServer]\common\lib.
    I have in folder�WEB-INF/lib� following files:
    antlr.jar
    commons-beanutils.jar
    commons-collections.jar
    commons-digester.jar
    commons-fileupload.jar
    commons-logging.jar
    commons-validator.jar
    jakarta-oro.jar
    jsf-api.jar
    jsf-impl.jar
    jstl.jar
    mysql-connector-java-3.1.13-bin.jar
    standard.jar
    struts.jar
    I'm using:
    NetBeans 5.5 Build200610171010 (bundled Tomcat 5.5.17)
    Ent.Pack 20061020 Visual Wb Pack 061103
    OS WinXP SP2
    Java 1.5.0_10
    MySQL 5.0.18-nt
    1:<%@page contentType="text/html"%>
    2:<%@page pageEncoding="UTF-8"%>
    8: <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    9: <%@taglib uri="http://java.sun.com/jstl/sql" prefix="sql"%>
    10:
    11: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    12: "http://www.w3.org/TR/html4/loose.dtd">
    13:
    14: <sql:setDataSource var="ds"
    15: driver="com.mysql.jdbc.Driver"
    16: url="jdbc:mysql://localhost:3306/test"
    17: user="root"
    18: password="xxxx"/>
    19:
    20:
    21:<sql:query sql="select name, age from People" var="res"
    22: dataSource="${ds}"/>
    I have received report on mistake when entered code at the top:
    �/index.jsp [21;0] According to TLD or attribute directive in tag file, attribute dataSource does not accept any expressions�
    I used instead of (dataSource="${ds}")->(dataSource="ds") but this did not work.
    After build and run I have received
    =========================================START=================================
    HTTP Status 500
    type Exception report:
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: /index.jsp(21,0) According to TLD or attribute directive in tag file, attribute dataSource does not accept any expressions
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    root cause
    org.apache.jasper.JasperException: /index.jsp(21,0) According to TLD or attribute directive in tag file, attribute dataSource does not accept any expressions
    org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
    org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
    org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:146)
    org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:955)
    org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:710)
    org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)
    org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
    org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
    org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
    org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
    org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
    org.apache.jasper.compiler.Validator.validate(Validator.java:1489)
    org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:166)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.
    Apache Tomcat/5.5.17
    =======================================END================================
    Error: "According to TLD or attribute directive in tag file, attribute dataSource does not accept any expressions" - but according to documentation such parameter possible.
    BUT WHEN JOINING With DATABASE FROM SERVLET ALL WORK FINE.
    I read this doc - [http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html], this applicable if I Tomcat Admin, but i'am not Admin
    I simply user, i.e. I want to place its database on virtual host (Tomcat+(JSP-JSTL)+MySQL).
    There is idea how can resolve this problem
    Thank you in advance ;)

    For all how have similar problem.
    Decision instead of these ways
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql" %>
    it is necessary to indicate these
    <%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

  • 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

  • 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 IDMS database via JDBC

    Has anyone successfully set up JDBC connectivity to generate reports using data in an IDMS mainframe database containing multiple schemas, where several schemas may contain tables with the same name? 
    We have no issues when using ODBC to connect to the various schemas in this IDMS databases, but we need to convert the connectivity for existing reports to JDBC. 
    When I open the JDBC connection, I see the expected hierarchy of schemas and tables in the Database Expert window.  If I try to select a table I get the following error message if a table of that same name exists in other schemas:
    Failed to retrieve data from the database.
    Details:  SQL exception: [SQL State:]  42000  [Error message:]  DB002046 T11094 C-4M347: Duplicate table ids for ASISCHEM.SR-ACT and CORPCHEM.SR-ACT in area CORPDB.ACTIVITY-AREA [Database Vendor Code: -4]
    So although we can connect to the database via JDBC, we can't use the connectivity because Crystal  does not appear to correctly resolve that I'm selecting the table from within a specific schema.
    Can anyone advise on how to make sure the table name selection is qualified by the correct schema name?
    Thanks in advance.

    Hello,
    Try running the query outside of CR to verify the JDBC driver is passing the fully qualified name also.
    Then look in the Designer and Show SQL to verify it's there as well as Set Table Location. You may be able to fully qualify it in that UI.
    Thank you
    Don

  • Unable to connect to MySQL Database using MX

    I am unable to connect to MySQL database hosted on a remote
    server. I get the following error message:
    "HTTP Error Code 404 File Not Found. Here are some possible
    reason 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://72.9.255.2/~keyitems/_mmServerScripts/MMHTTPDB.php
    URL. Verify that the URL Prefix maps to the root of the site."
    I have specified a testing server. My url is "
    http://72.9.255.2/~keyitems/........."
    For the URL prefix to the site's root folder, I listed the
    following:
    1.
    http://72.9.255.2/~keyitems/
    this did not work. I got the above error message.
    2.
    http://72.9.255.2/ this did not work
    also. I got the above error message.
    Any input would be great as I do not know where to start !!!
    Thank you

    Hi Ravi
    Glad to hear you solved this. It is very gratifying when one solves it alone, don't you think?
    Best wishes
    Michael

  • Connecting to MySQL Database with Servlet

    Hi All,
    I want to connect to MySQL Database from servlet.
    I am using Tomcat websever 3.3.1, where i have to set classpath of mysql jdbc driver.
    I tried by copying mysql jdbc driver in so many directiories of Tomcat server but it is
    giving me error like "no specified driver find"
    So please send me all the solutions and how to set the classpath to connect to
    mysql database.
    Thanks

    U r correct that so many people are giving me solutions but that are not working for me
    I think i not correct in setting the classapath to mysql jdbc driver.
    1)I have unjarred correctly and all the classes are present in that.
    yes driver class is there in that .
    2)Now i am using new version of the mysqljdbc that is 2.0.13
    If now any driver after this send me url i will download it and use it
    3)I am unable to under stand what is yourcontext in
    yourcontext/web-inf/lib?
    This is my directory structure.
    c:tomcat in this i have
    bin
    conf
    doc
    lib
    logs
    modules
    native
    webapps
    work
    in bin there are no subdirectories
    in conf i have
    auto,jserv,jk,users
    in doc i have
    appdev,images
    sample( in appdev)
    etc,lib,src,web(in sample)
    images(in sample\web)
    in lib i have
    apps
    common
    container(c:\tomcat\lib)
    in logs,modules there are no subdirectories
    in native (c:\tomcat\native) i have
    mod_jk
    mod_jserv
    in mod_jk i have
    apache 1.3
    common
    iis
    jni
    netscape
    nt_service
    in webapps i have (c:tomcat\webapps)
    Admin,Examples,root
    in Admin i have (c:\tomcat\webapps\admin)
    contextadmin
    Meta-inf
    Test
    Web-inf
    in web-inf (c:\tomcat\webapps\admin\web-inf)
    Classes,lib,script
    in classes i have (c:\tomcat\webapps\admin\web-inf\classes)
    tadm
    in examples (c:\tomcat\webapps\examples) i have
    Images,Jsp,Meta-inf,Servlets,Web-inf
    in web-inf (c:\tomcat\webapps\examples\web-inf) i have
         Classes,jsp
    in classed (c:\tomcat\webapps\examplesweb-inf\classes) i have
    Cal
    Checkbox
    Colors
    Dates
    Error
    Examples
    Num
    Sessions
    in jsp (c:\tomcat\webapps\examples\web-inf\jsp) i have
    applet          
    I think this is enough to give correct answer for me .
    Thanks

  • CONNECTING TO MySql DATABASE FROM Jdeveloper

    Hi,
    How can i connect to MySql database form Oracle Jdeveloper version 11.1.2.0.0.
    I was trying to create connection using create database connection dialog box but it is giving this error:
    Test failed: Driver class not found.
    Verify the Driver location
    Please can I get step by step procedure on how to create this connection.
    Thanks.

    Connect JDeveloper to a MySQL database - YouTube
    http://people.cis.ksu.edu/~hankley/d764/tut06/Ross_mySQL/mySQL.htm
    Hil &amp;amp; Co IT Solutions: Connecting to MySQL in JDeveloper

  • Cs3 connect to mysql database

    hi,
    i am having problems with my xp machine running cs3. when i try to connect to mysql database it throws back http error code 405 method not allowed.
    i downloaded the script replacement files after googling however that still never resolved the issue. can anyone help?
    many thanks

    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

  • Error: OGG-00146 - error 600 - Failed to connect to mysql database

    Dear All,
    I am replicating Data from MySQL to Oracle.
    Version of my MySQL is Server version: 5.5.19 MySQL Enterprise Server - Advanced Edition
    Version of Oracle is : Oracle 11gR2
    My extract is giving the following error and I am unable to identify the problem:
    *2012-12-25 14:18:48 ERROR OGG-00146 Oracle GoldenGate Capture for MySQL, netfors.prm: VAM function VAMInitialize returned unexpected result:*
    error 600 - VAM Client Report <CAUSE OF FAILURE : Failed to connect to mysql database WHEN FAILED : While initializing mysql context WHERE FAILED :
    MySQLBinLog Reader Module CONTEXT OF FAILURE : No Information Available!>
    Following are the contents of my /etc/odbc.ini file
    *[netfors]*
    Driver = /usr/lib/libmyodbc3.so
    Description = Connector/ODBC 3.51 Driver DSN
    Server = 10.168.20.226
    Port = 6629
    User = replication
    Password = ******
    Database = netfors
    Option = 3
    Socket = /tmp/mysql_sandbox5519.sock
    When i isql -v netfors replication ***** *
    it say Connected!
    This is my extract:
    EXTRACT NETFORS
    DBOPTIONS HOST 10.168.20.226, CONNECTIONPORT 6629
    SOURCEDB [email protected]:6629, USERID replication, PASSWORD ******
    RMTHOST 10.168.20.31, MGRPORT 7809
    RMTTRAIL /u01/app/oracle/oradata/GG/dirdat/n1
    TRANLOGOPTIONS ALTLOGDEST /root/sandboxes/msb_5_5_19/data/mysql-bin.index
    TABLE netfors.syslog;
    Extract gets ABENDED
    Kindly help on this.
    Regards, Imran

    Got it solved some how, golden gate was trying to connect with default socket file.
    */tmp/mysql.sock*
    while my socket file was
    */tmp/mysql_sandbox5519.sock*
    I changed it to default and got rid of the error.
    Thanks for the help.
    Regards, Imran

  • I can't get my website to connect to mysql database hosted on my yahoo site

    I used David Powers tutorials to build a CMS website in Dreamweaver using a testing site set up on my computer. I installed XAMPP and got it working on my computer. (I have a Windows 7 PC with Dreamweaver CS6)
    Now I have installed the mysql database on my remote site following the instructions in the help section of Yahoo Small Business, where my website is hosted. I recreated the same database on the myPHPAdmin on my remote site. (If I understood what I found out when searching for a solution, Yahoo doesn't allow me to see the database from Dreamweaver. It seems that I have to make sure the connections are correct and then upload my site to the remote server. Then it should work once up)
    Following the instructions I could find on Yahoo it seems that all I needed to do was make sure that the user name and password were the same as on my local computer and change the my Sql Server in the Server Connection in Dreamweaver CS6 to mysql instead of localhost, upload my website and it should connect. When I go to my webpage online I get "No database selected".
    I know html, css, some php, and mysql.
    I have been using Dreamweaver for approximatley 2 years and have created 2 successful websites for my husband, who is a photographer. He now wants to have a blog type news website and since I couldn't get Wordpress to do what he wanted to do I decided to create a CMS website. It works great on my computer, but now I need it to work on my remote site.
    I know it's probably something really stupid that I have overlooked and I would really appreciate any help I could get.
    I'm more than happy to learn whatever I need to learn to get this done. I have been searching all kinds of forums and I can find a lot of posts about this or a similar problem, but no solutions.
    Please let me know if I need to provide more information.

    I'm sorry, the way I wrote that was confusing. In mysql it suggested you create a new user that had limited access to access each database you created, rather than use the root user which had all permissions. So in both the mysql on my computer and the mysql on my website I created a user with the same username and password, so that when my website was on my remote server the username and password were the same as when I was testing it on my local computer.
    SnakEyez02 wrote:
    Following the instructions I could find on Yahoo it seems that all I needed to do was make sure that the user name and password were the same as on my local computer and change the my Sql Server in the Server Connection in Dreamweaver CS6 to mysql instead of localhost, upload my website and it should connect. When I go to my webpage online I get "No database selected".
    Just looking at that part of your response, I don't get what they are asking you.  Typically the remote host will require that you update the username/password and possibly SQL server.  When you are in most shared environments, which is what I presume you are in, you typically have a username that is prefix_username.  So you should be updating your script to match that information, not the other way around.  Also with the "mysql instead of localhost" comment, you would only change the script from localhost to another server (ip address) if the mySQL server is not on your web server.  If you host tells you this is true thent he value should be an IP address instead of localhost.  Is that the case?
    For the second part of your question in the "Why can't I access my database" help on Yahoo it says "If your PHP or Perl configuration files require a host name, you may have a problem with your host name. Make sure that you are using the host name mysql, not the default host name localhost." I assumed that meant that in the setup menu when establishing a server connection I needed to replace "localhost" as the mysql Server with "mysql" and then upload my website. This didn't work. Since the mysql server I am trying to access can be accessed using phpmyadmin at www.mywebsite.com/phpmyadmin this seemed to make sense to me. I think I might have managed to access the mysql server, but I'm not choosing the database I want correctly.

Maybe you are looking for

  • Satellite P500-12D - Can I use the nVidia drivers?

    The Latest NVIDIA Drivers on the Toshiba update website are 8.15.11.8642 but there are newer versions on the NVIDIA website. I would like ot update the NVIDIA Drivers but I am having difficalties. I tried to install version 195.62 (Win7 64bit) for th

  • Safai and Stickies did not work accurately after upgrade lion

    Hallo, 1. Safari: Version 5.1.5 and other before cannot show charts  and other buttons in the homepage of www.comdirect.de. (Firefox does it) Asking technical staff of comdirect, they told me: "it is a known problem of safari. Safari does not meet th

  • DHCP Server Implementation

    Hi All, We have planned to implement the DHCP Server therefore here I am looking for the best practice which we can do. we have almost 25 branches across the country and its under in one cloud and single domain. Is this better to keep a DHCP server i

  • Lightroom 5 Download not applicable

    I purchased Lightroom 5 Mac/Windows English. In my order history It will not allow me to download it. It will give me the serial number but says the download is not applicable. It will only allow me to download windows, multiple languages or mac, mul

  • Get user details in Property Filter

    Hello all, I want to get  the IUser details inside filter() method of PropertyFilter. Thank You Regards, Devasarathy Pandi.