connection to the MySQL database

Hello
I have a Mysql database and I am trying to connect using DW. I set up a connection and filled in all the fields by following the instructions in the help section.

The connection seems to be fine (and the connection seems to be the case) to the stage of "connect to the test database" when I get the following message is displayed. "an unidentified error has accurred.

On the connection of database in the field "mySQL server", I put the following " http://64.151.210.1/localhost'. "
The same thing happens if I just "localhost".
The rest of the details are my standard remote connection information
Any help gratefully received
m

Thanks for getting back to me so fast
I tried, but I still get the "unidentified error".
It is an online database that comes as part of my Web space.
I have MySQL installed on my local computer to connect successfully, see tables etc.?
m

Tags: Dreamweaver

Similar Questions

  • change the port connection to the mysql database settings

    Hello

    I created a mysql database on my hosting server, very basic, and I'm trying to connect to it. However receive a 404 error trying to test the connection. checked the settings with the hosting provider and all correct, they said to check that it does not try to connect on port 80 and should be the port 3306.

    How can I change this in the settings in dreamweaver cs4?

    Thank you very much

    Andy

    What happens if you try to create the connection to database from the server, rather than the site manager behaviors panel?

  • connection to the MySQL database on the server

    I use Dreamweaver CS3. I am trying to connect to the database on a hosting server. I did in the past, but on a different computer. When I get to the mySQL login window and I get the informaiton I get this error:

    HTTP 404 File not found error code. Here are a few possible reasons for the problem:

    (1) there is no server running on the server test.
    (2) the testing server specified for this site is not mapped to the URL http://207.45.187.42/_mmServerScripts/MMHTTPDB.asp . Check that the URL prefix corresponds to the root of the site.

    Website hosting said it's the path correct http://207.45.187.42/~denise/_mmServerScripts/MMHTTPDB.php, but I get the same error from him.

    When I configured the test server I've filled in the host field, but have you tried /public_html/ which is the directory of the host for the rest of the site. I get the same error as above.

    A thread in the forum suggested that you need to install MySQL in the IIS directory. My new computer does not have the version of Vist to do.

    Lost and confused.

    It took a while, but I finally thought to it. Under Server site/tests definitions in the prefix of the url I put the ip address of the Web site as well as the root folder. I had to ask the server what it was because it was different from what they use me to load up my documents. In my case, it is the ip address / ~ denise.

    After that everything worked fine.

  • DW connection to the mysql database: "databases" and "bindings" Panel disappeared

    I have a new website and a new PHP page, but why can't I find the "databases" or the "bindings panel" linking DW to the database? How can I fix?

    Moved to the main Dreamweaver Support Forum.

    You don't say which version of Dreamweaver that you use, but the screenshot indicates that it is an older version that has always installed obsolete server behaviors. If you have set the site properly, panels should normally appear in a PHP page. Your screenshot shows the missing. Have you tried opening the panels in the window menu? I don't have an old version of DW installed, but it should be something like window > PHP > just window or databases > databases.

    You should be aware of the fact that the code generated by Dreamweaver server behaviors relies on functions that have been removed from the PHP 7. Your sites will stop working as soon as your host upgrades the version of PHP on your server.

  • Unable to connect to the cs6 database...

    ftp server site connects to a domain addon folder... It works I can download download files

    test ftp server connects with success in the folder root (public_html) I have the _MMServerScripts downloaded to the root.

    database for the addon domain I can use it with php and javascript

    Make a new user for this db...

    When I try to connect to the db I name the connection to the MYSQL server, I use host local db username and password

    It does not connect I get the test no file server 404 not found

    (1) there is no server running on the server test.

    2) the test specified for this site server is not mapped with the Http://lplc.co/-mmServerScripts/MMHTTP.php.URL. Make sure that the URL prefix is the root of the site.

    I tried pointing to the test server to the domain addon folder same error...

    It should work with a field companion what am I hurt?

    What don't you understand?  You can not connect Dreamweaver to CPanel.  He does not like it for security reasons.

    You need a local test server and the database that DW can connect locally.

    When you have finished the construction & test your website locally, use phpMyAdmin to export your local SQL file.

    Then go to phpMyAdmin of your remote server and import your SQL file into the database of your server.

    See setting up a PHP environment in Dreamweaver

    http://www.Adobe.com/devnet/Dreamweaver/articles/setup_php.html

    Nancy O.

  • Can I change the MySQL database records?

    Hello

    As the title says, can I change the MySQL database records from the database window or can I only browse the structure?

    Thanks for your time, Steve

    No, you will need to use a front-end such as PHPMyAdmin, MS Access, tool or any tool SQL front end.

  • RC-40201: unable to connect to the TEST database running adcfgclone.pl appsTier

    Hi Experts,

    While performing a cloning my instance of R12, I got RC-40201 error when I ran "adcfgclone.pl appsTier.

    [appltst@oracleupk bin] $ perl adcfgclone.pl appsTier

    Copyright (c) 2002 Oracle Corporation

    Redwood Shores, California, USA

    Applications Oracle rapid Clone

    Version 12.0.0

    adcfgclone Version 120.31.12010000.1

    Enter the password for APPS:

    Running:

    / data/appl_top/apps/apps_st/comn/clone/bin /... / JRE/bin/Java-Xmx600M - cp /data/appl_top/apps/apps_st/comn/clone/jlib/java:/data/appl_top/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/data/appl_top/apps/apps_st/comn/clone/jlib/ojdbc14.jar oracle.apps.ad.context.CloneContext EI/data/appl_top/apps/apps_st/comn/clone/bin /... /Context/Apps/CTXORIG.xml-valider - pairsfile /tmp/adpairsfile_24425.lst-stade/data/appl_top/apps/apps_st/comn/clone 2 > /tmp/adcfgclone_24425.err; ECHO $? > /tmp/adcfgclone_24425.res

    Logfile located at /data/appl_top/apps/apps_st/comn/clone/bin/CloneContext_0912145803.log

    Provide the values required for the creation of the new file APPL_TOP context.

    Target System Hostname (virtual or normal) [oracleupk]:

    SID data system target: TEST

    Target database system [oracleupk] server node:

    Target system Base Directory: / data / appl_top

    Target system tools ORACLE_HOME directory [/ data/appl_top/apps/tech_st/10.1.2]:

    Target Web ORACLE_HOME directory system [/ data/appl_top/apps/tech_st/10.1.3]:

    Target system APPL_TOP directory [/ data/appl_top/apps/apps_st/appl]:

    Target system COMMON_TOP directory [/ data/appl_top/apps/apps_st/comn]:

    Target system Instance home directory [/ data/appl_top/inst]:

    Target system service root [activated]:

    Target Web Entry Point [active] System Services:

    Target [active] System Web Application Services:

    Target [active] Batch Processing Services system:

    Other Services target system [off]:

    You want to preserve the display [oracleupk:0.0] (y/n)? : n

    Target display system [oracleupk:0.0]: oracleupk:1.0

    System Target Pool [0-99] port: 80

    Audit of the pool of port 80

    fact: Port 80 pool is free

    Report file is located at /data/appl_top/inst/apps/TEST_oracleupk/admin/out/portpool.lst

    Information available at /data/appl_top/inst/apps/TEST_oracleupk/admin/out/portpool.lst complete port

    RC-40201: unable to connect to the TEST database.

    Create the new file APPL_TOP context of:

    /Data/APPL_TOP/apps/apps_st/appl/ad/12.0.0/admin/template/adxmlctx.tmp

    The new context APPL_TOP file was created:

    / Data/APPL_TOP/inst/Apps/TEST_oracleupk/Appl/admin/TEST_oracleupk. XML

    Logfile located at /data/appl_top/apps/apps_st/comn/clone/bin/CloneContext_0912145803.log

    Check the context Clone logfile /data/appl_top/apps/apps_st/comn/clone/bin/CloneContext_0912145803.log for more details.

    Clone of fast running with the command:

    Perl java /data/appl_top/apps/apps_st/comn/clone/bin/adclone.pl = / data/appl_top/apps/apps_st/comn/clone/bin /... /JRE mode = apply dialing = / data/appl_top/apps/apps_st/comn/clone point = appsTier = CUSTOM appctxtg=/data/appl_top/inst/apps/TEST_oracleupk/appl/admin/TEST_oracleupk.xml contextValidated = true showProgress method

    Running:

    Perl java /data/appl_top/apps/apps_st/comn/clone/bin/adclone.pl = / data/appl_top/apps/apps_st/comn/clone/bin /... /JRE mode = apply dialing = / data/appl_top/apps/apps_st/comn/clone point = appsTier = CUSTOM appctxtg=/data/appl_top/inst/apps/TEST_oracleupk/appl/admin/TEST_oracleupk.xml contextValidated = true showProgress method

    Apps for password:

    Start application layer apply - Fri Oct 12 15:01:20 2013

    / données/appl_top/apps/apps_st/comn/clone/bin /... /jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/oui -classpath /data/appl_top/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/data/appl_top/apps/apps_st/comn/clone/jlib/ojdbc14.jar:/data/appl_top/apps/apps_st/comn/clone/jlib/java:/data/appl_top/apps/apps_st/comn/clone/jlib/oui/OraInstaller.jar:/data/appl_top/apps/apps_st/comn/clone/jlib/oui/ewt3.jar:/data/appl_top/apps/apps_st/comn/clone/ jlib/Oui/share.jar:/data/appl_top/apps/apps_st/ Comn/clone/jlib/Oui/srvm.jar:/Data/APPL_TOP/Apps/apps_st/COMN/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyAppsTier EI /data/appl_top/inst/apps/TEST_oracleupk/appl/admin/TEST_oracleupk.xml-/data/appl_top/apps/apps_st/comn/clone - scene showProgress

    Password APPS: log file located at /data/appl_top/inst/apps/TEST_oracleupk/admin/log/ApplyAppsTier_09121501.log

    -79% completed

    ERROR when executing apply...

    Fri Oct 12 15:07:47 2013

    ERROR: Cannot run /data/appl_top/apps/apps_st/comn/clone/bin/adclone.pl

    Contents of the log file: -.

    [AutoConfig error report]

    The following report lists the errors autoconfig met in each

    execution phase.  Errors are grouped by directory and by phase.

    The format of the report is:

    < file name > < phase > < eventually return code >

    [INSTALLATION STAGE]

    AutoConfig could not successfully run the following scripts:

    Directory: / data/appl_top/inst/apps/TEST_oracleupk/admin/install

    adgendbc.sh INSTE8_SETUP 1

    afcpnode.sh INSTE8_SETUP 1

    afgcsreg.sh INSTE8_SETUP 1

    txkWfClone.sh INSTALL_SETUP 1

    [PROFILE PHASE]

    AutoConfig could not successfully run the following scripts:

    Directory: /data/appl_top/apps/tech_st/10.1.3/perl/bin/perl-je /data/appl_top/apps/tech_st/10.1.3/perl/lib/5.8.3-je /data/appl_top/apps/tech_st/10.1.3/perl/lib/site_perl/5.8.3-je /data/appl_top/apps/apps_st/appl/au/12.0.0/perl-je /data/appl_top/apps/tech_st/10.1.3/Apache/Apache/mod_perl/lib/site_perl/5.8.3/i686-linux-thread-multi /data/appl_top/inst/apps/TEST_oracleupk/admin/scripts/adexecsql.pl sqlfile = / data/appl_top/inst/apps/TEST_ oracleupk/admin /. install

    afwebprf. SQL INSTE8_PRF 1

    amscmprf. SQL INSTE8_PRF 1

    amswebprf. SQL INSTE8_PRF 1

    bisadmprf. SQL INSTE8_PRF 1

    bisdblrp. SQL INSTE8_PRF 1

    clnadmprf. SQL INSTE8_PRF 1

    cncmprf. SQL INSTE8_PRF 1

    cseadmprf. SQL INSTE8_PRF 1

    csfadmprf. SQL INSTE8_PRF 1

    csiadmprf. SQL INSTE8_PRF 1

    eamadmprf. SQL INSTE8_PRF 1

    fteadmprf. SQL INSTE8_PRF 1

    ibywebprf. SQL INSTE8_PRF 1

    icxwebprf. SQL INSTE8_PRF 1

    oksfrmprf. SQL INSTE8_PRF 1

    wshadmprf. SQL INSTE8_PRF 1

    Directory: / data/appl_top/inst/apps/TEST_oracleupk/admin/install

    adadmprf.sh INSTE8_PRF 1

    admk80ln.sh INSTALL_PRF 1

    afadmprf.sh INSTE8_PRF 1

    afcpctx.sh INSTE8_PRF 1

    afcpgsm.shINSTE8_PRF1
    igccmprf.shINSTE8_PRF1
    jtfictx.shINSTE8_PRF1
    okladmprf.shINSTE8_PRF1
    txkJavaMailerCfg.shINSTE8_PRF1
    txkWebServicescfg.shINSTE8_PRF1

    [APPLY PHASE]

    AutoConfig could not successfully run the following scripts:

    Directory: /data/appl_top/apps/tech_st/10.1.3/perl/bin/perl-je /data/appl_top/apps/tech_st/10.1.3/perl/lib/5.8.3-je /data/appl_top/apps/tech_st/10.1.3/perl/lib/site_perl/5.8.3-je /data/appl_top/apps/apps_st/appl/au/12.0.0/perl-je /data/appl_top/apps/tech_st/10.1.3/Apache/Apache/mod_perl/lib/site_perl/5.8.3/i686-linux-thread-multi/data/appl_top/inst/apps/TEST_oracleupk/admin/install
    adadmat.plINSTE8_APPLY1

    Fate of 31 stateful auto-configuration

    RC-50014: Fatal: failed to run the auto configuration service

    Asked by oracle.apps.ad.clone.ApplyApplTop

    ERROR: AutoConfig completed with errors. Check the logfile at /data/appl_top/inst/apps/TEST_oracleupk/admin/log/ApplyAppsTier_09121501.log for more details.

    ApplyApplTop completed successfully.

    # Check the race situation AutoConfig of ApplyApplTop

    WARNING: The autoconfiguration service has completed with errors.

    Please help me solve this problem, your prompt response will be highly appreciated.

    -Thank you

    Ankur

    Audit of the pool of port 70

    fact: Port pool 70 is free

    You used port 70 for the node of the database layer, so you will need to use the same port pool (70 instead of 80) when running "perl adcfgclone.pl appsTier.

    Thank you

    Hussein

  • DOUBLE DB: ORA-17629: unable to connect to the remote database server

    [oracle@ora11g1 ~] $ export ORACLE_SID = sales
    [oracle@ora11g1 ~] $ rman target sys/sales@sales

    Recovery Manager: release 11.2.0.1.0 - Production Wed Jun 5 13:00:15 2013

    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

    connected to target database: SALES (DBID = 690066655)

    RMAN > Connect auxiliary sys/salestby2@salestby2

    connected to the auxiliary database: SALES (not mounted)

    RMAN > CURRENT SPFILE DATABASE of TARGET duplicate FOR THE EVE OF the DATABASE
    2 > DB_NAME SET = 'sales '.
    3 > SET DB_UNIQUE_NAME = "salestby2".
    4 > control_files='/u02/oradata/salestby2/control01.ctl','/u02/oradata/salestby2/control02.ctl SET'
    5 > SET DB_FILE_NAME_CONVERT = "/ u02/oradata/sales /", "/ u02/oradata/salestby2 / '.
    6 > SET LOG_FILE_NAME_CONVERT = "/ u02/oradata/sales /", "/ u02/oradata/salestby2 / ';

    From duplicate Db 5 June 13
    using the control file of the target instead of recovery catalog database
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID = 20 type of device = DISK

    content of Script memory:
    {
    backup that copy reuse
    TargetFile ' / auxiliary format of the u01/app/oracle/product/11.2.0/dbhome_1/dbs/orapwsales
    ' / u01/app/oracle/product/11.2.0/dbhome_1/dbs/orapwsalestby2' targetfile
    ' / u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfilesales.ora' auxiliary format
    ' / u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfilesalestby2.ora';
    clone of SQL 'alter system set spfile = "/u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfilesalestby2.ora";
    }
    execution of Script memory

    From backup 5 June 13
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID = 58 type of device = DISK
    RMAN-03009: failure of the backup command on the channel ORA_DISK_1 at 05/06/2013 13:05:26
    ORA-17629: unable to connect to the remote database server
    ORA-17627: ORA-01017: name of user and password invalid. connection refused
    ORA-17629: unable to connect to the remote database server
    continue other job steps, not a not working will not re-run
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Db in dual at 05/06/2013 13:05:27
    RMAN-03015: an error has occurred in the script stored memory Script
    RMAN-03009: failure of the backup command on the channel ORA_DISK_1 at 05/06/2013 13:05:27
    ORA-17629: unable to connect to the remote database server
    ORA-17627: ORA-01017: name of user and password invalid. connection refused
    ORA-17629: unable to connect to the remote database server

    Welcome to the oracle forums!

    Please take the time to go through [url https://forums.oracle.com/forums/ann.jspa?annID=1535] FAQ PAGE

    Always after 4 version oracle numbers and details of the OS.

    Post any request outside has put between.

      \
    

    Tags

    Mark your questions answers if you give the answer

    Password for the SYS user on primary and standby must be the same. Copy the master password for the backup server

    SCP $ORACLE_HOME/dbs/orapwv112 : /u01/app/oracle/product/11.2/dbs/orapwdupv112

  • Created a site in dreamweaver, want to now set up the MySql database and username / password to access

    I created a site in dreamweaver, now you want to set up the MySql database and username / password to access a part of it. Dreamweaver's tools?

    I guess I need to learn PHP?

    Guidance gratefully received!

    Bob

    If you simply need to restrict access to your site, or a part of your site, there is an easier way to do it, using Apache htpasswd, but this solution is very limited and not suitable for use with clients, there is no interesting features people expect, as the ability to reset a lost password.

    Otherwise, Yes, you will need to learn some PHP and SQL.

    You will start by setting up your development computer with an Apache web server, which comes with PHP and possibly also MySQL. There are free versions, such as XAMPP, but I prefer Zend Server, which costs $195.

    Dreamweaver includes data 'tools' to the CS 5.5 version and there are third-party plugins available that will handle the data functions, but to really make things right you need to learn how to write your own code and don't mess with the tools who write code for you that you can not understand and are difficult to change.

    I think that David Powers PHP Solutions book is a good introduction and also includes a tutorial on building a password access system that is fine.

  • Connection to the remote database using Oracle 11 g Builder

    Hi all

    This could me stupid question, but I have installed Oracle Forms and reports 11g on Win 7 machine. I copied the file "tnsnames.ora' on the record ' ORACLE_HOME/Network/Admin". We use Oracle EBS R12 and I want to create a new report using 11 g.

    Using the report wizard after providing a simple query, we need to connect to the database. And even after the entry of TNS, I am getting error connecting to the database, following
    "REP-0501: the specified database can be connected.
    "ORA-12154: TNS: could not resolve the connect identifier specified.

    I am able to connect to the same database using the Report Builder (10.1.2.0). Is there another place where I need to set the TNS entry? How can I solve this error? Please guide...

    Kind regards
    Priyanka

    Hello

    In forms and reports 11g, default defined in tnsnames.ora is: ORACLE_INSTANCE\config.
    Please note that the ORACLE_INSTANCE is not the same as ORACLE_HOME.
    Example:
    ORACLE_HOME = D:\Oracle\Middleware\as_1
    ORACLE_INSTANCE = D:\Oracle\Middleware\instances\asinst_1

    If you set the admin TNS_ADMIN variable in the registry, you can point to a new location for tnsnames.ora

    Kind regards
    Alex

    If someone useful or appropriate please mark accordingly.

  • problem to connect to the VM database

    Hello

    I have a host of windows 7 with vmware 8 and a comment running oracle linux version 6 Update 2 for system
    x86_64 (64-bit). I installed 11 GR 2 database on this subject. The installation went even though it is OK and the database is in place and
    connect very well within the system of comments. The problem is that it does not connect to any part of the outside
    the comments system. An attempt to connect results in TNS-12535: TNS:operation has expired. Even the results of tnsping
    in the same error.

    It's results of tnsping from a customer who is not the host or guest. This client can ping the ip
    192.168.1.62.

    C:\ > tnsping test

    AMT Ping Utility for 32-bit Windows: Release 8.1.7.0.0 - Production on 20 June 20
    12 19:03:45

    (c) Copyright 1997 Oracle Corporation. All rights reserved.

    Try to contact (ADDRESS = (PROTOCOL = TCP)(HOST=192.168.1.62) (PORT = 1521))
    TNS-12535: TNS:operation expired


    The guest system can ping the computers inside the network, and other systems can ping the guest and the host
    systems without any problem. The listener and the database are all the comments system.

    The entire communication is inside the firewall, the local network, so the firewall isn't a problem here.
    The only solution I've seen on the internet is to remove the /etc/resolv.conf file (does not work) or use
    NAT networking for the virtual machine. We use networks bridged with static IP for machinery of the host and the guest
    and it seems that others have used the bridged network also.

    Is there an obligation to use NAT to make this work? Is there a setting that makes the connection to the guest
    database system possible?

    Thank you to everyone who is trying to solve this problem.

    Take a look at EdStevens and other answers on this similar topic
    >
    You probably did not open port 1521 of the firewall (iptables) of linux comments box.
    >
    Re: Connectivity between Local OS(windows 7) and Vm OS(Enterprise Linux)

    Or this link
    http://AWADs.NET/WP/2012/02/21/how-to-connect-to-Oracle-database-on-a-guest-VM-from-the-host/

    If you are looking for 'oracle 11g vm tnsping', you will find a lot of visits.

  • ORA-02019: description of the connection to the remote database not found

    Hi all

    10.2.0.4 on solaris 10.

    I can tnsping and connect to a tnsentry in tnsnames.ora from the server, but when I use the same in dblink, get the error below:
    ORA-02019: description of the connection to the remote database not found. Here's the scenario. any idea?
    medt01:medtora:/medt/oracle/product/102/network/admin$ tnsping medcon
    
    TNS Ping Utility for Solaris: Version 10.2.0.4.0 - Production on 09-NOV-2011 23:49:23
    
    Copyright (c) 1997,  2007, Oracle.  All rights reserved.
    
    Used parameter files:
    /medt/oracle/product/102/network/admin/sqlnet.ora
    
    
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.102)(PORT = 1523))) (CONNECT_DATA = (SERVICE_NAME = medcon)))
    OK (20 msec)
    medt01:medtora:/medt/oracle/product/102/network/admin$ sqlplus medts_ed/medfcv@medcon
    
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Nov 9 23:49:31 2011
    
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    medt01:medtora:/medt/oracle/product/102/network/admin$ sqlplus medts_ed/medfcv@medcon
    
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Nov 9 23:59:54 2011
    
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    medt01:medtora:/medt/oracle/product/102/network/admin$ tnsping medcon
    
    TNS Ping Utility for Solaris: Version 10.2.0.4.0 - Production on 10-NOV-2011 00:00:02
    
    Copyright (c) 1997,  2007, Oracle.  All rights reserved.
    
    Used parameter files:
    /medt/oracle/product/102/network/admin/sqlnet.ora
    
    
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.102)(PORT = 1523))) (CONNECT_DATA = (SERVICE_NAME = medcon)))
    OK (0 msec)
    medt01:medtora:/medt/oracle/product/102/network/admin$ sqlplus medts_ed/medfcv@medcon
    
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu Nov 10 00:00:07 2011
    
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    medt01:medtora:/medt/oracle/product/102/network/admin$ sqlplus medc_pl/medxcdsw3
    
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu Nov 10 00:00:17 2011
    
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options
    
    SQL> create database link med2con connect to medts_ed identified by medfcv using  'medcon' ;
    
    Database link created.
    
    SQL> select * from medc@med2con;
    select * from medc@med2con
                                *
    ERROR at line 1:
    ORA-02019: connection description for remote database not found

    Try this,

    SQL > create database link med2con connect to medts_ed identified by using medfcv ' (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.0.102)(PORT = 1523))) (CONNECT_DATA = (SERVICE_NAME = medcon)))';

    SQL > select * from medc@med2con;

  • ORA-17629: unable to connect to the remote database server

    Hello

    I have put Dataguard in place with primary and 1 physical standby for learning/test database:

    I do NOT plan the unloading of RMAN backups on the physics of the day before.

    Recorded the primary database with RMAN and when "resync catalog db_unique_name all;" is issued.
    I get the following error:
    ---------------------------------------------------------------------------------------------------------------------
    RMAN > catalog resync db_unique_name all;
    from full resynchronization of the recovery catalog
    full complete Resync
    resynchronization of data base with DB_UNIQUE_NAME ASTTESTB
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failed to db_unique_name resynchronization command at 28/09/2011 11:34:23
    ORA-17629: unable to connect to the remote database server
    ORA-17628: Oracle 17629 error returned by remote Oracle Server
    ------------------------------------------------------------------------------------------------------------------
    Configuration of RMAN for the main proceedings are the following:

    RMAN > show all to db_unique_name asttest;

    RMAN settings for database with db_unique_name ASTTEST are:
    CONFIGURE RETENTION POLICY TO RECOVERY OF 7-DAY WINDOW;
    CONFIGURE BACKUP OPTIMIZATION # by default
    SET UP DEFAULT DISK DEVICE TYPE; # by default
    CONFIGURE CONTROLFILE AUTOBACKUP # by default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F" # by default
    SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP BACKUPSET TYPE; # by default
    CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default
    CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
    CONFIGURE ENCRYPTION OF DATABASE # by default
    CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AND 'DEFAULT' LIBERATION OPTIMIZE FOR TRUE LOAD; # by default
    CONFIGURE DB Nom_unique "asttest" CONNECT IDENTIFIER ' ASTTEST. UMDNJ. EDU'; _
    CONFIGURE DB "Asttestb" of nom_unique CONNECT IDENTIFIER "asttestb"; _
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / opt/oracle/product/11.2.0/dbhome_1/dbs/snapcf_asttest.f'; # by default

    Configuration of RMAN for instance physical standby are:

    RMAN > show all to db_unique_name asttestb;

    RMAN settings for database with db_unique_name ASTTESTB are:
    CONFIGURE RETENTION POLICY TO RECOVERY OF 7-DAY WINDOW;
    CONFIGURE BACKUP OPTIMIZATION # by default
    SET UP DEFAULT DISK DEVICE TYPE; # by default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F" # by default
    SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP BACKUPSET TYPE; # by default
    CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default
    CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
    CONFIGURE ENCRYPTION OF DATABASE # by default
    CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AND 'DEFAULT' LIBERATION OPTIMIZE FOR TRUE LOAD; # by default
    CONFIGURE DB Nom_unique "asttest" CONNECT IDENTIFIER ' ASTTEST. UMDNJ. EDU'; _
    CONFIGURE DB "Asttestb" of nom_unique CONNECT IDENTIFIER "asttestb"; _
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / opt/oracle/product/11.2.0/dbhome_1/dbs/snapcf_asttest.f'; # by default

    ----------------------------------------------------------------------------------------------------------------------

    When I tested missing missing datafile and control file scenario on the primary database, it worked (Advisor to recover data)

    However, missing datafile scenario does not work on the physics of the day before.
    Here are the steps I followed:
    ********************************************
    1 renamed a file of physical data - in standby mode:

    bash - $3.2 ls - ltr

    Total 107832

    -rw - r - 1 oracle oinstall 52429312 16 September 12:19 asttest_redo03.log

    -rw - r - 1 oracle oinstall 61874176 Sep 29 15:41 asttest_temp01.dbf

    -rw - r - 1 oracle oinstall 52436992 5 Oct 11:00 rmandg_data01.dbf

    bash - $3.2 mv rmandg_data01.dbf rmandg_data01.dbf_old

    bash - $3.2 ls - ltr

    Total 107832

    -rw - r - 1 oracle oinstall 52429312 16 September 12:19 asttest_redo03.log

    -rw - r - 1 oracle oinstall 61874176 Sep 29 15:41 asttest_temp01.dbf

    -rw - r - 1 oracle oinstall 52436992 5 Oct 11:00 rmandg_data01.dbf_old


    2. restore the datafile (find the data file # view v$ recover_file):
    RMAN > restore datafile 5;



    From restoration to 5 October 11

    Segmentation fault


    3. in spite of the error, published "recover datafile command.

    4 RMAN > recover datafile 5;



    From pick up to 5 October 11

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = 10 type of device = DISK

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of the command recover at 05/10/2011 12:00:40

    RMAN-06094: datafile 5 must be restored.


    5. manually copy the physical primary datafile - in standby mode, & then problem recover RMAN command:
    bash - $3.2 scp oracle@msudrainier:/ora03/oradata/asttest/rmandg_data01.dbf.

    rmandg_data01.dbf 100% 50 MB 16.7 MB/s 00:03

    bash - $3.2 ls - ltr

    Total 159096

    -rw - r - 1 oracle oinstall 52429312 16 September 12:19 asttest_redo03.log

    -rw - r - 1 oracle oinstall 61874176 Sep 29 15:41 asttest_temp01.dbf

    -rw - r - 1 oracle oinstall 52436992 5 Oct 11:49 rmandg_data01.dbf_old

    -rw - r - 1 oracle oinstall 52436992 5 Oct 12:01 rmandg_data01.dbf


    RMAN > recover datafile 5;



    From pick up to 5 October 11

    using channel ORA_DISK_1



    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of the command recover at 05/10/2011 12:01:59

    RMAN-06067: RECOVER the DATABASE required with a backup control file or created


    6. of course RMAN commands have failed to restore the missing data file;
    So I renamed the file to original and rebooted repeat services applies - this restore the data file and now the configuration state of the DG is normal.
    *********************************************************************************

    Not quite sure if I'm still he hands the right way or if the error above is related to RMAN not able to synchronize with the physics of the day before.

    The documentation I want to talk to is here (1 paragraph):

    [http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/rman.htm#BAJDFBDD | http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/rman.htm#BAJDFBDD]


    Any pointers/direction and advise is greatly appreciated.

    Best regards
    NK

    I got it!

    /home/oracle:STANDBY >$ORACLE_HOME/bin/rman target sys/ catalog /@rcatalog
    
    Recovery Manager: Release 11.2.0.1.0 - Production on Fri Oct 7 14:12:10 2011
    
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    
    connected to target database: PRIMARY (DBID=1562898590, not open)
    connected to recovery catalog database
    
    RMAN> resync catalog from db_unique_name all;
    
    resyncing from database with DB_UNIQUE_NAME PRIMARY
    starting full resync of recovery catalog
    RMAN output not resynced for database with DB_UNIQUE_NAME PRIMARY
    full resync complete
    

    If the necessary connection string a target/sys and a catalogue

    RMAN target sys / catalog /@rcatalog

    I did my standby

    Will try the primary

    Best regards

    mseberg

    Work on both. Great question!

    connected to target database: PRIMARY (DBID=1562898590)
    connected to recovery catalog database
    
    RMAN> resync catalog from db_unique_name all;
    
    starting full resync of recovery catalog
    full resync complete
    
    resyncing from database with DB_UNIQUE_NAME STANDBY
    RMAN output not resynced for database with DB_UNIQUE_NAME STANDBY
    
    RMAN> 
    

    Published by: mseberg on October 7, 2011 14:16

    Thanks a ton for sticking to it. I'll add this little thing to my web site.

    Published by: mseberg on October 7, 2011 14:22

  • connection to the forms database

    Hello

    Is it possible to connect to a database through forms?
    I'm working on forms 6i and 10g db.

    My requirement is like this.
    I am developing a software, which has two types of users
    (1) Admin and
    (2) normal user

    If the user logs on the system as an administrator.
    then I need to connect that user to the database 'pay' with username "admin" and "admin" pswd

    If the user logs on as a Normal user,.
    then he must connect to the same database 'pay' username 'nuser' and pswd "nuser.

    Is this possible? How can it be done?

    You can use the built-in forms of logon to change the database connection. But before using the connection always use LOGOUT. Because the form is already connected. For ex

    LOGOUT;
    LOGON(...);
    

    See Form Builder Help.

    -Clément

    Published by: Hannah on May 2, 2010 11:05

  • Insert XML data into the MySQL database

    Hi all, I'm new with XML and I need help with the insertion of XML data in the mysql database using coldfusion. I looked on the Coldfusion Documentation and saw how to convert XML to a Coldfusion query... but there was no example of how to do an insert. If anyone can give me a good example or point me towards a good direction on how to do it, I would really appreciate it.

    Thank you very much in advance
    Alfie

    Nevermind, I finally managed to do work!

Maybe you are looking for