Connection to MySQL on GoDaddy hosted site

I have a site set up with PHP and MySQL (by following David
Powers book - exellent). Everything works fine on my localhost, but
when I try to use the remote site to view a page containing MySQL
data all that comes up is a blank page. I have added a line of code
at the top of the page to show errors and still nothing shows -
just a blank page. I am able to see the database and tables via the
PHP admin but not via a page from my site. In the connections
folder I have changed the name of the host name on the remote site
to be what GoDaddy info page indicates. In a call to GODaddy help
they said everything is set up OK but there is a problem with my
code. I am sure that must be true - I just don't know what to do.
I appreciate your help,
thanks,
Bill

I was never able to set up a remote connection with GoDaddy,
that's not
say it's impossible.
My workaround (thanks, Murray) was to work with a local
connection and
at a later date export the local data to the remote DB. I
used mysqldump
from the Mac terminal to export the data.
Mick
MontanaBill wrote:
> I have a site set up with PHP and MySQL (by following
David Powers book -
> exellent). Everything works fine on my localhost, but
when I try to use the
> remote site to view a page containing MySQL data all
that comes up is a blank
> page. I have added a line of code at the top of the page
to show errors and
> still nothing shows - just a blank page. I am able to
see the database and
> tables via the PHP admin but not via a page from my
site. In the connections
> folder I have changed the name of the host name on the
remote site to be what
> GoDaddy info page indicates. In a call to GODaddy help
they said everything is
> set up OK but there is a problem with my code. I am sure
that must be true - I
> just don't know what to do.
> I appreciate your help,
> thanks,
> Bill
>

Similar Messages

  • Periodic drop of connection to GoDaddy-hosted sites

    For the past month or so, I occasionally lose access to  any of my sites hosted at GoDaddy. I can connect to any other site, can ping other sites, etc. I can get to the server via IP, but not URL. And then, just as suddenly, I can pull up the site again. It seems to be happening with increasing frequency (four times today, happening right now). I've switched DNS servers from the Verizon ones to DynDNS to Google's, and no luck (and like I said, I can still go to other sites on the Internet.) When I check with http://downforeveryoneorjustme.com/ the server is still up and going (testing with the URL, not the IP address). Anyone else experiencing anything similar with GoDaddy? Or have any ideas. I've tried rebooting the router when it happens, but that doesn't resolve it.
    Halllp

    #1 Did you trace route to the GoDaddy-hosted site(s)?
    #2 If not, please do and show us the results.
    This means for example if on Windows XP,
    a) Go to Start -> Run.
    b) Type in cmd and press enter.
    c) In the new window type in tracert google.com and press enter.
    ^^
    If you are the original poster (OP) and your issue is solved, please remember to click the "Solution?" button so that others can more easily find it. If anyone has been helpful to you, please show your appreciation by clicking the "Kudos" button.

  • Problems connecting to MySql on GoDaddy

    Hi!
    Don't know if it's the right place to ask, but I'm stuck with a problem.
    I've just bought my domain from GoDaddy.com and set a MySql database there. However, when I try to login to the server using the following info my Java application refuses to create a connection.
    String urlDatabase = "jdbc:mysql://mysql server/databasename"; String user = "databasename"; // on godaddy the db and user are the same String password = "mypassword";
    The same code used to connect to the database works clean and smooth on my local machine.
    After I construct the connection string it throws me the following errors:
    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.mysql.jdbc.Util.handleNewInstance(Util.java:406) at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1119) at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2257) at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:784) at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.mysql.jdbc.Util.handleNewInstance(Util.java:406) at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:354) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:284) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at magenta.model.database.connectionpool.JDCConnectionPool.getConnection(JDCConnectionPool.java:62) at magenta.model.database.connectionpool.JDCConnectionDriver.getConnection(JDCConnectionDriver.java:36) at magenta.main.Main.<init>(Main.java:20) at magenta.main.Main.main(Main.java:39)
    I have to say that in phpmyadmin, from GoDaddy, the user appears to login to a different IP than that where the database is stored.
    It says somenthing like this:
    # Server: testdatabase11.database server.com (IP1 via TCP/IP)
    # User: testdatabase11@IP2
    Don't know if that may be the cause of my problem though.
    I emailed them some hours ago but still didn't get any answer.
    Any help will be highly appreciated!

    I have a similar problem, I have a paid GoDaddy hosting account, ssh is enabled, and I can access the database from a php script run at home so its not an internet issue... I can't figure out what the problem is, but the program is crashing when I get to the createStatement() command... Any ideas anyone?
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    public class sqltest extends Activity {
                    Connection conn=null;
              try {
                   // from http://help.godaddy.com/topic/319/article/262
                   conn = DriverManager.getConnection(
                                       "jdbc:mysql://profiles.db.1111111.hostedresource.com:3306/dbname",
                                       "dbname", "password");
              } catch (SQLException e1) {
                   // TODO Auto-generated catch block
                   e1.printStackTrace();
              try {
                   // Create a result set containing all data from mysql_all_table
                   Statement stmt = conn.createStatement();
                   ResultSet rs = stmt.executeQuery("SELECT * FROM *");
    }PS: I'm technically doing this in android, but I think the problem is pure java...

  • Problem Uploading with CyberDuck to GoDaddy host site

    I created an iWeb site that looks and functions fine on my computer (10.5.8). I successfully uploaded it with Cyberduck (3.2.1) to be hosted by GoDaddy on a domain I own. At that point, everything was lovely. Then, I revised the site in iWeb on my computer. When I uploaded it to GoDaddy with Cyberduck (overwriting the previous version of the site), most of the online pages had lost some formatting and many of the links no longer worked properly. At that point, the revised iWeb site on my computer still looked and functioned fine. GoDaddy help did some troubleshooting and concluded that the problem is with iWeb or Cyberduck.
    I'm stuck. Any ideas?

    Tom,
    Please click on "The Concept" button to notice margins and spacing on that page. On most pages, the "Order" and "Contact" buttons in the box at the bottom of the page don't work. The titles in the "Archives" section don't link to the articles as they did in the iWeb version on my computer. What can I do to avoid these errors in future uploads?
    Also, is there something I can do differently to make the brief "Welcome" QuickTime video (on the home page) work on IE?
    I expect to add/change the site every couple of weeks. Is there a way to upload just the changes and not overwrite the whole site?
    I value your help very much. Thank you for taking the time.

  • I can't load godaddy hosted sites since updating to firefox 6.02, this happened with 5.0 as well

    I'm running Windows 7 sp1 64-bit on a Core2 Duo E4500 processor with 2 GB ram. Since upgrading to Firefox 6.02, I can't open sites hosted by GoDaddy.
    They don't give an error, or any information at all. All I get is a white, blank page. There is no code behind it when I 'view source'.
    This happened when I upgraded previously to version 5.0 also.

    Do a malware check with some malware scanning programs.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br /><br />
    *http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    *http://www.superantispyware.com/ - SuperAntispyware
    *http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    *http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    *http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • Can't connect to mysql - unidentified error

    I am new at this.  I created a PHP page and I want to connect to mysql on my host's server.  I can connect to my server as I can upload my site.   When I click on my database - MYSQL connection in dreamweaver I populate the appropriate informatioin.     When I hit test I get an unidentified error  It doesn't appear it is connecting to my database.   My cpanal and database appear to be set up so I can access it remotely.
    YUUGGG.   Since I can connect to my server to upload my site, I have verified I should be ok with accessing the database remotely what could be the problem?

    Connection name = database
    MySQL server: 174.120.152.211 (I was told to use this by my hosting company since I was accessing the file remotely
    Use name:  jake_jake
    Password - password for database
    datebase = database name
    What's weired is I can connect to upload my site but when I try to connect to get my database I can't. 

  • Connecting to a database on a hosted site

    I have a mysql database on the site where my web page is hosted.
    I would like to write an application that sits on a users computer and allows them to send data to this database. Ther server has a firewall and its linux.
    How would anyone suggest I do this.
    How would I connect to the database ?
    Would I need JDBC?
    if so what would the connection look like ie
    connection con = DriverManager.getConnection( url, "mylogin", "thepassword");
    what would url =?
    look forward to hearing from you
    Gina1234

    I would like to write an application that sits on a
    users computer and allows them to send data to this
    database. Ther server has a firewall and its linux.
    How would anyone suggest I do this.
    How would I connect to the database ?I s'pose the JDBC code could be called from a server-side component (like servlet). This will prevent the users from requiring the driver JAR on their computers.
    Would I need JDBC?Yes.
    if so what would the connection look like ie
    connection con = DriverManager.getConnection( url,
    "mylogin", "thepassword");
    what would url =?Check the MySql driver documentation. A quick Google search would also give the connection URL.

  • Multiple Sites w/ GoDaddy Host

    I created a website with iWeb, bought a domain name and hosting space from GoDaddy, published the site to a folder and uploaded it to GoDaddy with Fetch. Everything worked fine. I created another user account on my computer as a way to create another website with iWeb and keep it separate from the first one (a suggestion I got on these boards, by the way), created my site, bought another domain name from GoDaddy for that site, and now I want to upload it to my GoDaddy hosting space (the hosting account I got allows you to upload many sites to it if you want to). My concern is that when you upload the site that iWeb created from the published folder, you upload the index.html file and the folder iWeb created with the files for your site. iWeb always creates an index.html file for each web site. So there is already a file in my hosting space called index.html. When I upload the second site, is that going to somehow confuse or mess up the first one?

    When you go to godaddy.com and click on the link that tells you about their various hosting plans, they have a comparison of plan features. They have Economy, Deluxe, & Premium. The last two allow Unlimited Sites and describe this as "Multiple Websites may be hosted within a single hosting account sharing the same disk space and bandwidth quotas."
    I have one site up there under a domain name, so there is an index.html file and a folder with all the other files for that site. I bought another domain name for my second site, but I'm not sure yet how they will be differentiated when they are sharing the same disk space. My concern is that when I upload the second site, it too will have an index.html file that needs to go up, and will that overwrite the first one already up there and mess up that first site?
    This is my first time using a program like iWeb to make a site. In the past (and that was a long time ago) I wrote my own html from scratch, and had control over what I named that first page that pointed to all the others.

  • Connection to data store on host MYSQL failed

    We have observed multiple occurrence of below errors on the 6 App-V servers (default server group).
    <ServerName> 3796 9044 SW_ServerAuthenticationTask::Authorize - "Default Provider" <UserID> - 2 41472 "Module execution failed."
    <ServerName>nPool::Reconnect - "Default Provider" <UserID> - 2 41543 "Connection to  data store on host MYSQL failed.
    APPV Server details:
    APPV Server 4.5.3.19480
    The issue is been there for some time and we seen these error on the SFT-SERVER log now and then.Though the error is reported in the APP-V log but we have not seen any issue accessing any APPV application during the duration.
    Could someone suggest solution to resolve the issue.

    Do all your servers face this issue? They are load balanced I suppose?
    Check those servers if the App-V management Server service is running and that the firewall doesn't block anything. If that's not the case, try to give the machine account of those servers full control for Share/NTFS on the content-share.
    If that does not work, open a ticket with MS.

  • Error when connecting to MySQL Database

    I am trying to connect to MySQL and receive an error everytime. I have attempted to talk to Bluehost (who my site is hosted thru) and they said it is not on their end and not something they can help me with. I set up a new MySQL Database with Bluehost and then set up the site through DW and everything went fine. I secured an ftp connection and went on to connect to MySQL. When I enter in my credentials for SQL Database, it returns:
    HTTP Error Code 404:
    Reason 1. No testing server running on the server machine.
    Reason 2. Testing server specified for this site deos not map to the http://my_domain.com/_mmServerScripts/MMHTPDB.php URL. Verify the URL Prefix maps to the site.
    The testing server model I am using is set to PHP MySQL and URL Prefix I am using (my_domain.com) is my website URL. I watched a YouTube video someone suggested elsewhere on how to add MMHTTPDB.php and mysql.php files to _mmServerScripts folder since the folder is empty but unfortunately, those files are not found on my computer. I assume they were supposed to be installed when I installed DW, but they are not here. I have done a general search of the comp and looked in each folder that was installed with DW and sadly, no files that match those names. What can I do? How can I make an SQL connection? Please help. It is greatly appreciated.
    -Sharon

    Your answer can be found somewhere in here http://forum.wampserver.com/read.php?2,83382,88694
    My hosts file (c:\windows\system32\drivers\etc\hosts) looks like
    # Copyright (c) 1993-2009 Microsoft Corp.
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    # For example:
    #      102.54.94.97     rhino.acme.com          # source server
    #       38.25.63.10     x.acme.com              # x client host
    # localhost name resolution is handled within DNS itself.
        127.0.0.1       localhost
        ::1             localhost

  • Dg4odbc to connect to mysql rc 28500 something other than invalid authoriza

    dg4odbc to connect to mysql rc 28500 something other than invalid authoriza
    Hi,
    We are trying to establish connectivity from oracle to mysql using dg4odbc and openlink ODBC drivers. I get the following error when queries are run on mysql tables from within
    oracle/db links.
    SQL> select * from "labels"@"dg4odbc.cisco.com"
    2 ;
    select * from "labels"@"dg4odbc.cisco.com"
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    ORA-02063: preceding line from DG4ODBC
    contents of dg4odbc agent log is as below.
    $ cat dg4odbc_agt_3168.trc
    Oracle Corporation --- TUESDAY SEP 30 2008 05:37:56.658
    Heterogeneous Agent Release
    11.1.0.6.0
    Oracle Corporation --- TUESDAY SEP 30 2008 05:37:56.655
    Version 11.1.0.6.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of "HS_TRANSACTION_LOG"
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "AL32UTF8"
    setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics"
    Exiting hgosdip, rc=0
    ORACLE_SID is "dg4odbc"
    Product-Info:
    Port Rls/Upd:6/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.1.0.6.0_0006, Instance:dg4odbc
    Exiting hgogprd, rc=0
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=873
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=873
    HOCXU_SEM_VER=90200
    Entered hgolofn at 2008/09/30-05:37:57
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/export/home/oratest/openlink/lib/libiodbc.so"
    Entered hgolofns at 2008/09/30-05:37:57
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    Exiting hgoinit, rc=0 at 2008/09/30-05:37:57
    Entered hgolgon at 2008/09/30-05:37:57
    reco:0, name:odbc_26530, tflag:0
    Entered hgosuec at 2008/09/30-05:37:57
    Exiting hgosuec, rc=0 at 2008/09/30-05:37:57
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
    HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
    HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using odbc_26530 as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2008/09/30-05:37:57
    HS_FDS_CONNECT_INFO = "dg4odbc"
    HS_FDS_CONNECT_STRING = "OptimizePrepare=2"
    Entered hgogenconstr at 2008/09/30-05:37:57
    dsn:dg4odbc, name:odbc_26530
    optn:OptimizePrepare=2
    ##>Connect Parameters (len=57)<##
    ## DSN=dg4odbc;
    #! UID=odbc_26530;
    #! PWD=*
    ## OptimizePrepare=2;
    Exiting hgogenconstr, rc=0 at 2008/09/30-05:37:57
    Entered hgopoer at 2008/09/30-05:37:57
    Exiting hgopoer, rc=0 at 2008/09/30-05:37:57 with error ptr FILE:hgopoer.c LINE:128 ID:GetDiagRec error
    hgocont, line 1904: calling SqlDriverConnect got sqlstate
    Exiting hgocont, rc=28500 at 2008/09/30-05:37:57 with error ptr FILE:hgocont.c LINE:1923 ID:Something other than invalid authorization
    Exiting hgolgon, rc=28500 at 2008/09/30-05:37:57 with error ptr FILE:hgolgon.c LINE:612 ID:Calling hgocont
    Entered hgoexit at 2008/09/30-05:37:57
    $
    Here is my setup
    Source : oracle 9208 on solaris + Patch_p5965763_9208_solaris64
    dg4odbc component on a different home
    9i and 11g listeners.
    Target : Mysql 5.x on linux sever
    ODBC Driver manager and driver : Openlink single tier driver for mysql.
    he last lines of dg4odbc agent states an error "something other then invalid authorization"(see below)..
    Entered hgopoer at 2008/09/30-05:37:57
    Exiting hgopoer, rc=0 at 2008/09/30-05:37:57 with error ptr FILE:hgopoer.c LINE:128 ID:GetDiagRec error
    hgocont, line 1904: calling SqlDriverConnect got sqlstate
    Exiting hgocont, rc=28500 at 2008/09/30-05:37:57 with error ptr FILE:hgocont.c LINE:1923 ID:Something other than invalid authorization
    Exiting hgolgon, rc=28500 at 2008/09/30-05:37:57 with error ptr FILE:hgolgon.c LINE:612 ID:Calling hgocont
    Entered hgoexit at 2008/09/30-05:37:57
    Has anyone encountered similar issue while configuring dg4odbc....I never had trouble with hsodbc. Since hsodbc is desupported , We are evaluating dg4odbc and openlink odbc
    drivers to establish connectivity to mysql and stuck at this point.
    Any suggestion from gateway gurus ?
    Thanks in advance,
    Bhaskar

    Content of Important config files is as below.
    Source : oracle 9208 on solaris + Patch_p5965763_9208_solaris64
    dg4odbc component on a different home
    9i and 11g listeners.
    Target : Mysql 5.x on linux sever
    ODBC Driver manager and driver : Openlink single tier driver for mysql.
    contents of key config files are as below.
    contents of 9i tnsnames.ora
    # To Test DG4ODBC Config
    dg4odbc =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = ora-dev2)
    (PORT = 1556)
    (CONNECT_DATA =
    (SID= dg4odbc)
    (HS=OK)
    contents of 11g listener file
    $ cat listener.ora
    # listener.ora Network Configuration File: /u03/orapoc/oracle/product/dg4odbc/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    TRACE_LEVEL_LISTENER_DG = USER
    LISTENER_DG =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ora-dev2)(PORT = 1556))
    LOG_FILE_LISTENER_DG = LISTENER_DG.log
    TRACE_DIRECTORY_LISTENER_DG = /u03/orapoc/oracle/product/dg4odbc/network/trace
    SID_LIST_LISTENER_DG =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = /u03/orapoc/oracle/product/dg4odbc)
    (SID_NAME = dg4odbc)
    (ENVS = "LD_LIBRARY_PATH=/export/home/oratest/openlink/lib:/u03/orapoc/oracle/product/dg4odbc/lib")
    (PROGRAM = dg4odbc)
    LOG_DIRECTORY_LISTENER_DG = /u03/orapoc/oracle/product/dg4odbc/network/log
    TRACE_FILE_LISTENER_DG = LISTENER_DG.trc
    contents of initdg4odbc.ora
    $ pwd
    /u03/orapoc/oracle/product/dg4odbc/hs/admin
    $ ls
    initdg4odbc.ora initdg4odbc.ora.orig listener.ora.sample tnsnames.ora.sample
    $ cat initdg4odbc.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    HS_FDS_CONNECT_INFO=dg4odbc
    HS_FDS_TRACE_LEVEL = DEBUG
    HS_FDS_TRACE_FILE_NAME = dg_mysql.log
    HS_FDS_CONNECT_STRING = "OptimizePrepare=2"
    HS_FDS_SHAREABLE_NAME=/export/home/oratest/openlink/lib/libiodbc.so
    HS_FDS_SUPPORT_STATISTICS=FALSE
    # ODBC specific environment variables
    set ODBCINI=/export/home/oratest/openlink/bin/odbc.ini
    set ODBCINSTINI=/export/home/oratest/openlink/bin/odbcinst.ini
    set OPENLINKINI=/export/home/oratest/openlink/bin/openlink.ini
    set OPL_LICENSE_DIR=/export/home/oratest/openlink/bin/
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    set LD_LIBRARY_PATH=/export/home/oratest/openlink/lib:/u03/orapoc/oracle/product/dg4odbc/lib
    contents of odbc.ini
    $ cat /export/home/oratest/openlink/bin/odbc.ini
    ; odbc.ini
    ; ODBC DSN configuration file
    ; This file is an OpenLink Software product configuration file.
    ; To learn more about this product, or any other product in our
    ; portfolio, please check out our web site at:
    ; http://www.openlinksw.com
    ; or contact us at:
    ; [email protected]
    ; If you have any technical questions, please contact our support
    ; staff at:
    ; [email protected]
    [ODBC Data Sources]
    mys5_lite = OpenLink MySQL 5.x Lite Driver (multi threaded)
    mys5_lite_unicode = OpenLink MySQL 5.x Lite Driver (Unicode)(multi threaded)
    dg4odbc = OpenLink MySQL 5.x Lite Driver (multi threaded)
    [mys5_lite]
    Driver = /export/home/oratest/openlink/lib/mys5_mt_lt.so
    ServerType = MySQL 5.x
    Username =
    Password =
    Database =
    Options =
    FetchBufferSize = 99
    ReadOnly =
    DeferLongFetch =
    JetFix = No
    Description = Sample MySQL 5.x Lite Connection
    MaxRows =
    NoRowSetSizeLimit = No
    InitialSQL =
    NoAutoCommit = No
    NoLoginBox =
    SqlDbmsName =
    [mys5_lite_unicode]
    Driver = /export/home/oratest/openlink/lib/mys5_mt_lu.so
    ServerType = MySQL 5.x
    Username =
    Password =
    Database =
    Options =
    FetchBufferSize = 99
    ReadOnly = no
    DeferLongFetch = no
    JetFix = no
    Description = Sample MySQL 5.x Lite Connection
    [dg4odbc]
    DeferLongFetch =
    MaxRows = 1000000
    JetFix = No
    NoRowSetSizeLimit = No
    Description = Openlink Unix Lite DSN
    Options = -H odbctest.power.com -P 3329
    UserName = odbc_test
    Password = abcdef
    ServerType = MySQL 5.x
    InitialSQL =
    Driver = /export/home/oratest/openlink/lib/mys5_mt_lt.so
    Database = linksys__dev
    ReadOnly =
    NoAutoCommit = No
    NoLoginBox =
    FetchBufferSize = 99
    SqlDbmsName =
    [ODBC]
    DebugFile = /export/home/oratest/openlink/mysql_debug
    TraceFile = /export/home/oratest/openlink/openlink_mysql
    Trace = 1

  • 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

  • FTP to godaddy host from within china with Trial CS3 DW

    As per my topic summary FTP upload to my godaddy hosting is
    just not happening; cant even obtain a connection to the server
    upon test with multiple trial and error attempts with different
    settings. I am 80 % confident Ive done all correct, but can anyone
    shed some light on any situation specific fixes or share any
    knowledge if you have been in this situation? Thanks.

    can you view the godaddy site or other sites hosted with them
    in a browser?
    http://www.google.com/search?hl=en&ie=ISO-8859-1&q=godaddy+china+block
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Can't connect to MySQL [subject edited by moderator]

    Unable to connect to a remote MySQL database with FTP from 'MySQL Connections' despite all connection parameters being valid, just get "an unidentified error has occured" message.

    MurraySummers wrote:
    Actually, I was describing what you need to do to connect to the database with DW. If your attempt to connect is blocked by the firewall (because you are a foreign entity), you will never be able to test the connection parameters in DW. Failing that then you will have to do exactly what Rob is suggesting:
    1. Connect to the database via the host's phpMyAdmin
    2. Export the database's contents to a sql dump file
    3. Import that dump file into a local mysql database
    4. Configure DW to connect to the local database
    5. Build your connection script in DW
    6. When completed, export locally and import remotely (the reverse of #2 and 3)
    7. Upload your script and adjust your connection parameters to use "localhost" for the mysql server name
    It's a tedious and complex series of steps for sure. My preference is to always get an exception added to the host's firewall for my IP address - then I can connect, build and develop directly on the mysql server for the site. (and by the way, I much prefer using Navicat to using phpMyAdmin!)
    What happens if the remote host loses the database file/s?
    I recently had an instance where a certain well known provider in the UK managed somehow to lose all my website files and database files. I was only able to restore the site because I had a local duplicate copy of the site files and database files. I know it don't happen that much but its possible. You must ALWAYS keep an up-to-date version of the wesbite files locally - personally I never connect locally to a remote database because unless you have some 'automated' back-up either on your own local server or the host server this could spell trouble.
    If a client updates their own site I pass the resposibility of backing up the database over to them, as far as I know none do, prefering to leave the responsibility to the host, great if they do - not so good if they don't or lose the files.
    EDITED,
    I think Navicat takes care of the automated database back-up, right? - I dunno about phpMyAdmin though.

  • Connect to mysql DB (An unidentified error has occurred.) plz need help...

    I have been unable to create a database connection in dreamweaver to my MySql
    server.  Each time I receive the message "an unidentified error has occurred".
    I can use pure php code to create a connection successfully:
    <?php
    $username = "root";
    $password = "password";
    $hostname = "localhost";
    $dbh = mysql_connect($hostname, $username, $password)
    or die("Unable to connect to mysql");
    print "connected to mysql<br>";
    $selected = mysql_select_db("test",$dbh)
    or die("Could not select first_test");
    if (mysql_query("insert into test_table values('5')")) {
    print "successfully inserted record";
    else {
    print "Failed to insert record";
    mysql_close($dbh);
    ?>
    This works, I can successfully insert a record.  However, if I try and create
    a connection in Dreamweaver with these same variables, I receive the message
    "an unidentified error has occurred".  I have tried, deleting the _mm
    connection scripts folder and recreating them.  I have used the mx2004 updater,
    I have tried all document types...  nothing seems to work...
    i am using local server (phptraid)
    PHPTriad 2.2 contains the following changes:
    Updated packages for Apache(1.3.23), MySQL(3.23.48) and PHP(4.1.1).
    also using remote host at (www.0fees.net)
    last thing i would to say in my computer i success only one time to make connection in window 7 - dreamweaver cs4
    and i create this site mwlobby.0fees.net
    but now i downloaded dreamweaver cs5 and i need to install new windows
    so i need help
    any suggestions?

    Turn your iPhone to a DFU mode and restore it

Maybe you are looking for

  • Host('sqlldr') is not working in oracle forms 10g

    oracle database version:10.1.2.0 oracle forms version:10g client ans server are on the same machine. when i am trying to load the file in to oracle,i wrote the when-button-pressed trigger as host('sqlldr'); when i run the form its not giving any resu

  • Need to know What I need to do for basic performance

    I have windows 8.1 I7 64bit processor 16 gig bite ram hd4600 intel graphic driver (internal) My problem I can not work lightroom and photoshop together for more than 5mins. Photoshop - open cl is no longer available. Waacom tablet (I use tablet 20 pe

  • Digital signature will not work in Reader

    I need help I have been working on a new form I want to have digatally signed.  I add the digital signature box, in the test pdf it pulls in my digital certificates and works.  Once I save the form and try opening it with adobe reader 9 nothing happe

  • Mini display is shutting down computer.

    I've been using a mini display to HDMI cord for awhile and nothing has been wrong with it until the other day. When I plugged the mini display into the port on my 13 inch MacBook Pro, it just shut down. Does anyone know why?

  • How to saperate 543 and 101 while doing GR against subcontracting PO?

    Hi all,      As you know,while doing GR against subcontracting PO ,the Mvt type 543 will be following  with 101. My requirement is that, when doing GR, i want the Mvt type 543 not post with 101. Of course, if i don't active  the checkbox of the compo