Compare database password verification both  database and Linux

Hi Friends,
oracle11g2 apply database profile with password verification function in Password Management. But some DBA claims apply linux shell script to verify oracle account password during database connection.
Please let me know which methods (database profile with verification function; linux shell script) is best?
each methods benefit and disadvantage in security control? or more information
Thanks
newdba

Oradb wrote:
If consultant does this task for us. which methods is best and reason?It doesn't matter who is implementing it.
If a shell script is enforcing password complexity, you would have to guarantee that no application ever did a password change without calling the script. That seems highly unlikely. Someone will want to change their password using SQL*Plus. Someone will want to change their password via TOAD or some other GUI. Someone will want to change their password using some other front end. A password verification function in the database will be invoked in all of these cases. A shell script will not. Unless you have an exceedingly expensive consultant that is an expert in shell scripting who has no experience whatsoever with PL/SQL and unless you can guarantee that no one today or in the future will want to use any of the established APIs to change their password rather than calling the shell script, use a password verification function.
Of course, if you want to get really technical, you could create a password verification function that, in turn, calls out to an operating system shell script. That would be a hugely overcomplicated architecture but it can be done.
Justin

Similar Messages

  • Executing WINWORD from both Windows and linux using Java

    Dear All,
    I have a problem when trying to use Runtime class to execute a winword document. My code is as follows.
    Runtime r= Runtime.getRuntime();
    try{
    r.exec("rundll32"+" "+"url.dll,FileProtocolHandler"+" "+"WINWORD"+ " "+"file://C://welkom.doc");
    catch(Exception ex){
    System.out.println("Unable to open the doc file:"+ex);
    When I execute this swing application with the above, the program is unable to open the specific file. And it says "Problem with the short cut, unable to open the file". When I run the program without the file name, it opens a new doc file.
    Attn: what I want to do here is I need to open the winword file from both windows and linux. So I cannot use the relative path of the WINWORD.exe file.
    Can anyone help me?
    Thanks in advance.
    Regards,
    Bala

    If you take a look at the api, there's an exec(String[]) method. This is the one you should use when calling a command with multiple parameters.
    so something like...
    String[] cmd = new String[] {"rundll32", "url.dll,FileProtocolHandler", "WINWORD", "file://C://welkom.doc"}
    r.exec(cmd);

  • HT1430 Pop-up shows name or password is incorrect.   Have changed password on both incoming and outgoing ports, no luck.

    Can anyone help?      Cannot receive or send mail, pop-up shows name or password incorrect.   Changed password on both incoming and outgoing, no luck.
    Have been at it all day long.     Any suggestions?

    Guess what? That's right! I switched on my laptop this morning and the moment I opened Thunderbird I received three emails - one of them informing me that I'd changed my password.
    So the problem was clearly at the server end, not mine.
    For anybody who is searching the Help Forums looking for help: be aware that you will find many messages like this one and lots of suggestions as to what YOU may have done wrong. The reality is that if you have this specific error message, it is probably a glitch in the system that randomly happens and is fixed, apparently without BT/Yahoo! knowing anything about it.
    It IS known about, has been known about for years, and will not be addressed as a problem in the near future.
    My recommendation "get a new email address!". If you MUST stay with the btinternet/btopenworld address then get used to the idea that every so often you will not be able to get into your email. Don't panic and don't go changing your settings as this will only confuse the matter when it comes back online - without any warning or advisory.
    I say this, not as a rant (although it fills that role as well) but as a genuine suggestion to avoid random problems that you will not be able to fix.
    This is the 21st centrury and we still have electronic messaging systems that breakdown randomly and without anybody aparently knowing why, or how to fix it. So much for tomorrow's world, eh?
    Bye bye BT/Yahoo! - I'd like to have said "it's been nice", but...

  • I keep getting asked for  username and password on both IMAP and Exchange when on 3G network but not Wifi!

    We are having serious issues with one of our Google Apps accounts. We have done everything we can think of to get it to work properly on 3G but for some reason it continually asks for the user's password no matter how many times we enter it. However, it does work on WiFi!!
    The iPhone says "Cannot get mail, the username or password for USERNAME is incorrect."
    This happens on both Exchange and on IMAP accounts. We have deleted the accounts and set them up again several times but to no avail.
    It is also worth noting that I have exactly the same settings on my identical iPhone and have no problems whatsoever so we think it may be something with the google configuration.
    Please help!!

    Try a system reset.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until the screen blacks out or you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.

  • Storing servlets files in a tomcatserver for both windows and linux

    Hi,
    I want to know where to store the servlets files (ie) in which directory i need to put the servlets file in a tomcat server.
    I want to know where to the store the servlet files for both windows 98 and linux 8.0.
    Also in linux how do i configure the servlets files how to set the classpath for the servlet files.
    For eg in windows 98,
    i can set the classpath like this:-
    set classpath=%path%;c:/jakarta-tomact-4.1.24/common/lib/servlet.jar
    Where how it is done in linux machine how u will set the classpath for servlet.jar in linux.
    Pls. do provide the answer.It is Urgent.
    Thanx,
    m.ananthu

    Did you try reading the documentation that comes with Tomcat? I'm pretty sure it has the answers.

  • From localtime to UTC on both Windows and Linux (Solved)

    Hi,
    It has been a while since I updated my Archlinux. I read from the news corner that it is now strongly recommended to change from localtime to UTC (http://www.archlinux.org/news/initscripts-update-1/). Since I have a dual-boot system of Archlinux and Windows 7 RC I currently use localtime for both. From what I understand is that there is now a registry fix such that Windows will also use UTC. Now my question is: is there a recommended order in updating the two operating systems? My worry is that if I update one OS to UTC then the hardware clock is probably saved as UTC at shutdown. Then starting the other OS (which still assumes localtime) might cause troubles when it reads the hardware clock which is now in UTC.
    At http://social.msdn.microsoft.com/forums … e90c6e243/ they recommend the following order:
    1 - Apply the registry fix in Windows
    2 - Shutdown Windows and start your alternate OS
    3 - Set the time right
    4 - Shutdown your alternate OS and boot Windows
    5 - Sleep and resume from sleep Windows
    I think step 5 is necessary, because Windows messes with the clock again after a resume from suspend/hibernation.
    Secondly, at https://wiki.archlinux.org/index.php/Be … #Set_clock it is stated that you should also disable Windows from syncing the time with the Internet. Does this still apply?
    I can remember that Windows once corrected for daylight saving by setting the clock one hour back. Rebooting to Archlinux afterwards caused various warnings (or errors) regarding time stamps being in the future. Waiting for one hour and then boot Archlinux 'solved' the problem. Still, I would like to prevent these things when I switch to UTC.
    Thoughts and recommendations are appreciated.
    Last edited by Bart(t (2011-11-24 10:39:57)

    Thanks for the reply. I played on safe with this issue:
    1. Stop Windows from syncing its time with the Internet.
    2. Apply the registry fix in Windows
    3. Reboot to Windows to be sure everything applied well
    4. Assuming the time skew between localtime and UTC can't be more than 24 hours I decided to wait for roughly 24 hours to boot Archlinux (yes.. some people still have that luxury)
    5. Apply UTC to Archlinux
    For now, everything is running well
    Last edited by Bart(t (2011-11-24 10:45:36)

  • Intel 4000 graphics failure both windows and linux on thinkpad edge s430

    After 5-30 minutes the screen breaks up in flickering (or just black) and system freezes. I need to turn off computer. After restart the error occurs again quickly.
    This occurs regardless if I boot to windows or into a linux bootable dvd.
    But
    Remote desktop connection to the computer and it works fine for days .
    ->
    Thus I believe it is the intel 4000 graphics that has some hardware failure which is not invoked upon remote desktop.
    I wonder if this is a known issue?
    I wonder if only a replacement of the intel 4000 graphics will fix this (this probably means replacing the main board entirely?)
    Or
    If it is in any way likely that it is _only_ because maybe thermal paste between cooler and cpu/graphics is slipping?
    Lenovo Thinkpad Edge S430
    Intel I7 + Intel HD 4000
    No additional graphics

    Have you tried setting up the connection manually?
    e.g.
    /etc/init.d/networkmanager stop
    #Unlock wireless devices
    rfkill unblock all
    #enable interface
    ifconfig wlan0 up
    #check network visibility
    iwlist wlan0 scanning
    #configure wifi
    iwconfig wlan0 essid <ESSID>
    iwconfig tx auto
    and then set up wpa_supplicant in case you use WPA2!
    #Get ip address
    dhclient wlan0
    One thing I regularly miss when getting a new wifi device is to add it to the MAC filter list of my router, so check if the MAC address is added there...
    W520|4282-W16|2720QM|16GB|Q1000M|FHD|500GB|UMTS|BIOS 1.26|Gentoo Linux/2.6.39-r3|Win7-64-Prof|

  • Keychain displays restricted access message when I try to view passwords in both login and iCloud

    If I try to view a password for either an application or website using Keychain. As soon as I tick the box 'show password' a message pops up saying "Access to this item is restricted" How can I access and view my passwords?

    Maybe:
    Keychain password access is denied.  Any suggestions?  Thanks
    Re: Keychain Access

  • Dual booting in Windows and Linux, but only Linux has calendar, TB 31.0

    I'm dual booting using Linux Mint and Windows 7. I have TB 31.0 installed in each OS. TB in Linux has calendar capability; in Windows, there's nothing (by nothing, I mean no calendars - I can't see their properties, for instance, nor access them in any way).
    I should add that both Windows and Linux TB programs are sharing the same profile folder (located on a separate partition), hence, all the same add-ons, passwords, etc.
    The error console logs the following:
    Timestamp: 14/08/2014 6:41:33 PM
    Error: Components.classes[cid] is undefined
    Source File: resource://calendar/modules/calUtils.jsm -> file:///P:/PortableApps/ThunderbirdPortable/Data/profile/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js
    Line: 17
    There are a variety of flow on errors, related to this.
    My apologies for posting this in this way; I had intended to submit this via the crashreporter, but I'm having trouble getting the program to crash with this error just now.

    A reply to my own question: it turns out that while sharing a profile works pretty well for most purposes, with Lightning it does not, as the extension has different Linux and Windows versions. The problem is solved quite simply: by not using the same profile for each version.
    Glad to see that no one wasted time on this one (except me, of course).

  • DAC 10.1.3.4.1 Server on Windows (64 bit) and Linux x86 (64 bit)?

    Hi Friends,
    Please confirm wheteher Oracle Business Intelligence Data Warehouse Administration Console 10.1.3.4.1 Server is supported on
    Windows (64 bit) and Linux x86 (64 bit)
    Because from edelivery.oracle.com i could see the downloads only for windows and Linux and not specified as 32/64 - bit
    so will it mean that the same dump is used for both 32 and 64 bit
    1) Oracle Business Intelligence Data Warehouse Administration Console 10.1.3.4.1 for Microsoft Windows (V16377-01)
    can the above dump is used for both 32 and 64 bit windows?
    2) Oracle Business Intelligence Data Warehouse Administration Console 10.1.3.4.1 for Linux x86 (V16378-01)
    can the above dump is used for both 32 and 64 bit Linux?
    The reason is because for OBIA 7.9.6.3 configuration both the Informatica Power Centre and DAC Server should co-exist
    and i could see seperate installer for 32 and 64 bit for both Windows and Linux whereas i couldn't see it for DAC Server
    Please confirm .
    Regards,
    DB

    It is supported on both platforms. With Linux however, if you have any issues you can to install in a windows environment, then copy over the folder structure. Also, you can possibly run into issues running the setup.exe on 64bit windows. When you open the install directory, go to dac/disk1/install and run the executable for win32. win64bit can return an error where it says it cannot create certain temp directories. It is a known java bug you can find in the support website.
    Edited by: user12838563 on Jul 13, 2011 11:35 PM

  • Dual boot mac and linux

    Hi,
    I am trying to install linux to my MacPro to run both mac and linux operating system. However, I have no clue that how to do that. Could you please give me a help in detail how to do it.
    Thank you so much,
    Xiao

    There are detailed instructions for various methods of installing Ubuntu on your machine here:
    https://help.ubuntu.com/community/MactelSupportTeam/AppleIntelInstallation

  • Lightroom and Linux

    I know that this has already been asked... But I cannot start to understand why Adobe seems to dismiss Linux users this way. I've read some comments about Linux on this forum and please be honest. Linux is not for hacker only, Linux users do not expect free (as in free beer) software only. Many are ready to pay for GOOD software and Lightroom definitly fall into this category.
    I've tried Lightroom on a VirtualBox, it is too slow to be usable!
    I'm really looking forward for a native linux port. This OS is so much better than Windows (no I'm not a troll, for example the file system is lot faster and you have far more chance to get a virus) that we have all to win here.
    Can we hope? There is a port of Lightroom under MacOS which has a BSD kernel not too far from a Linux one. The hard work is done on this side. I cannot speak for the GUI though...
    I'm ready to pay today a Lighroom on Linux with a price tag 50% more expensive than the Windows one. I mean it!
    Please if you want a Linux port, post a message maybe Adobe will listen!
    Pascal.

    I had actually decided that I wouldn't write in this thread anymore, after Pascals response to my thread earlier. But, alas, I got pulled back in.
    Right, first, this message is written from a workstation running Arch Linux. This serves as a good platform for devloping bespoke JEE applications.
    I use both OSX and Linux on a daily basic, and they are both great operating systems. These days, these days Linux is mostly at work though, at home OSX solves most my problems more elegantly.  But, in the end of the day I completely agree with Miguel de incaza (for people not interested in FOSS, he is basically the father of the GNOME desktop and a quite important person in FOSS), when he wrote his infamous "what killed the linux desktop" blog post -->  http://tirania.org/blog/archive/2012/Aug-29.html 
    Linux as a desktop operating system, is unlikely to happen. For all the reasons he is articulating so nicely in that post. Linux as a specialized unix workstation, ofcourse, but in all fairness, all we need is a terminal, gcc, git and sed then really
    robin48gx wrote:
    Steam are already plugged into the Linux community revenue stream....
    This is irrelevant though, why does it matter if a company making computer games have released a beta client of their store? Their business model is different, they are planning to roll out a console which is based on linux, which makes it a nobrainer. With that said, how many recent AAA title is available for the steam Linux client at the moment? None. When will they come? Most likely when the stream box comes out, hence, this is not driven by linux as a super tasty viable platform. But its rather a bi-product of a commerical product valve is planning to launch.
    This is not the case for Adobe.
    The linux desktop market is estimated to have a market share around 1.5%. This is segmented across a wealth of different linux distributions which are more or less compatible with each-other. Right, so we have a small market segment, which is fairly non-standardised and a bit of a pain to deploy for (unless you release your source code). On top of this, a lot of these people are fairly fanatical about free (open) software and doesn't particularly like commercial software . Java is a good example of this, Java is one of the worlds most used programming languages, but is still a second rate citizen in the desktop linux eco-system, java language binding for quite important stuff such as clutter, gst etc etc is terribly far behind the other language bindings.
    So, in summery, you have a small, quite segmented, where the average user is very religious about why software should be free and open.
    Ofcourse they haven't ported, thats a terribly business case

  • How can i compare two databases and their tables

    i have a text.txt file then
    i will insert it into db_header and db_details
    db_header has tbl_pcountheader with fld_Rack_No(char) PK and fld_DateAdded(date) PK
    db_details has tbl_pcountdetails with fld_Rack_No(char) PK, fld_Barcode(char) PK and fld_Quantity(int)
    then i will lookup in db_products
    db_products has tbl_products and tbl_barcodes
    tbl_products has fld_ItemCode
    tbl_barcodes has fld_Barcode and fld_ItemCode
    now i want to make a prompt contains
    Rack No: Date:
    Counter No:
    Barcode | Item Code | Item Description | Quantity
    how can i fill up this by comparing db_details and db_products?
    Private Sub bt_upload_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bt_upload.Click
    If saveCheckBox.Checked = False Then
    MsgBox("Please click the box to continue.")
    Return
    End If
    If lb_file.SelectedItem Is Nothing Then
    MessageBox.Show("Please select a file.")
    Exit Sub
    End If
    ' Obtain the file path from the list box selection.
    Dim filePath = lb_file.SelectedItem.ToString
    ' Verify that the file was not removed since the Browse button was clicked.
    If System.IO.File.Exists(filePath) = False Then
    MessageBox.Show("File Not Found: " & filePath)
    Exit Sub
    End If
    ' Obtain file information in a string.
    Dim fileInfoText As String = GetTextForOutput(filePath)
    'LookUP db_header, db_details and db_products
    Dim cs As String = "Database=;Data Source=localhost;" _
    & "User Id=root;Password=1234"
    Dim conn As New MySqlConnection(cs)
    Dim ds As New DataSet
    Dim da As New MySqlDataAdapter
    Dim cmd As New MySqlCommand
    Dim dt As New DataTable
    Dim stm As String = "SELECT tbl_pcountheader.fld_Rack_No, tbl_pcountheader.fld_DateAdded, tbl_pcountdetails.fld_Barcode, tbl_products.fld_ItemCode, tbl_products.fld_ItemDesc, tbl_pcountdetails.fld_Quantity FROM db_header.tbl_pcountheader INNER JOIN db_details.tbl_pcountdetails ON db_details.tbl_pcountdetails.fld_Rack_No = db_header.tbl_pcountheader.fld_Rack_No INNER JOIN db_products.tbl_barcodes ON db_details.tbl_pcountdetails.fld_Barcode = db_products.tbl_barcodes.fld_Barcode INNER JOIN db_products.tbl_products ON db_products.tbl_barcodes.fld_ItemCode_fk = db_products.tbl_products.fld_ItemCode GROUP BY tbl_pcountheader.fld_Rack_No, tbl_pcountheader.fld_DateAdded ORDER BY tbl_pcountheader.fld_Rack_No"
    ds = New DataSet
    Try
    conn.Open()
    da = New MySqlDataAdapter(stm, conn)
    da.Fill(ds, "tbl_pcountheader")
    DataGridView1.DataSource = ds.Tables("tbl_pcountheader")
    Dim headers = (From header As DataGridViewColumn In DataGridView1.Columns.Cast(Of DataGridViewColumn)() _
    Select header.HeaderText).ToArray
    Dim rows = From row As DataGridViewRow In DataGridView1.Rows.Cast(Of DataGridViewRow)() _
    Where Not row.IsNewRow _
    Select Array.ConvertAll(row.Cells.Cast(Of DataGridViewCell).ToArray, Function(c) If(c.Value IsNot Nothing, c.Value.ToString, ""))
    Using sw As New IO.StreamWriter("c:\report.txt", append:=True)
    sw.WriteLine(String.Join(",", headers))
    For Each r In rows
    sw.WriteLine(String.Join(",", r))
    Next
    End Using
    ds.WriteXmlSchema("Sample.xml")
    Dim cr As New CrystalReport1()
    cr.SetDataSource(ds)
    CrystalReportviewer1.ReportSource = cr
    CrystalReportviewer1.Refresh()
    Catch ex As MySqlException
    MsgBox("Error: " & ex.ToString())
    Finally
    conn.Close()
    End Try
    ' Show the file information.
    Dim PrintPrompt As String
    PrintPrompt = MsgBox(fileInfoText, MsgBoxStyle.YesNo, "ProofList")
    If PrintPrompt = vbYes Then
    'fileInfoText.print()
    If saveCheckBox.Checked = True Then
    ' Place the log file in the same folder as the examined file.
    Dim bakFolder As String = System.IO.Path.GetDirectoryName(filePath)
    Dim bakFilePath = System.IO.Path.Combine(bakFolder, "back-up.bak")
    Dim bakText As String = "Backed-Up: " & Date.Now.ToString & vbCrLf & fileInfoText & vbCrLf & vbCrLf
    ' Append text to the log file.
    'System.IO.File.AppendAllText(bakFilePath, bakText)
    My.Computer.FileSystem.WriteAllText(bakFilePath, bakText, append:=True)
    'My.Computer.Network.UploadFile(bakFilePath, "C:\Documents and Settings\SAPC-TECH\My Documents\back-up file.bak", "", "", False, 1000)
    'My.Computer.FileSystem.DeleteFile(bakFilePath)
    'Form2.Show()
    End If
    'Note: This message box shows that you've uploaded a file and back up it.
    MessageBox.Show("Already backed-up to ")
    Else
    'Me.Close()
    'Application.Exit()
    'End
    End If
    'Me.DialogResult = System.Windows.Forms.DialogResult.Cancel
    'Form2.Close()
    'Me.Close()
    End Sub
    here's my final code that solves my problem.
    i just make the environment of vb into mysql console
    so that i can call all the database that i wanted.

    Private Sub bt_upload_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bt_upload.Click
    If saveCheckBox.Checked = False Then
    MsgBox("Please click the box to continue.")
    Return
    End If
    If lb_file.SelectedItem Is Nothing Then
    MessageBox.Show("Please select a file.")
    Exit Sub
    End If
    ' Obtain the file path from the list box selection.
    Dim filePath = lb_file.SelectedItem.ToString
    ' Verify that the file was not removed since the Browse button was clicked.
    If System.IO.File.Exists(filePath) = False Then
    MessageBox.Show("File Not Found: " & filePath)
    Exit Sub
    End If
    ' Obtain file information in a string.
    Dim fileInfoText As String = GetTextForOutput(filePath)
    'LookUP comparison db_details to db_products
    'Dim connString As String = "Database=db_products;Data Source=localhost;" & "User Id=root;Password=1234"
    'Dim conn As New MySqlConnection(connString)
    'Dim cmd As New MySqlCommand()
    'Try
    ' conn.Open()
    ' cmd.Connection = conn
    ' cmd.CommandText = "SELECT Database1.dbo.TableName.ColumnName, Database2TableName.Name, 'The reason why Database 2 isnt defined is the fact that it has been defined in the connection" _
    ' FROM Database2TableName INNER JOIN _
    ' Database2TableName2 INNER JOIN _
    ' WHERE (Database1.dbo.TableName.ColumnName = '')"
    ' cmd.Prepare()
    ' cmd.ExecuteNonQuery()
    ' conn.Close()
    'Catch ex As Exception
    'End Try
    ' Show the file information.
    Dim PrintPrompt As String
    PrintPrompt = MsgBox(fileInfoText, MsgBoxStyle.YesNo, "ProofList")
    If PrintPrompt = vbYes Then
    'fileInfoText.print()
    If saveCheckBox.Checked = True Then
    ' Place the log file in the same folder as the examined file.
    Dim bakFolder As String = System.IO.Path.GetDirectoryName(filePath)
    Dim bakFilePath = System.IO.Path.Combine(bakFolder, "back-up.bak")
    Dim bakText As String = "Backed-Up: " & Date.Now.ToString & vbCrLf & fileInfoText & vbCrLf & vbCrLf
    ' Append text to the log file.
    'System.IO.File.AppendAllText(bakFilePath, bakText)
    My.Computer.FileSystem.WriteAllText(bakFilePath, bakText, append:=True)
    'My.Computer.Network.UploadFile(bakFilePath, "C:\Documents and Settings\SAPC-TECH\My Documents\back-up file.bak", "", "", False, 1000)
    'My.Computer.FileSystem.DeleteFile(bakFilePath)
    Form2.Show()
    End If
    'Note: This message box shows that you've uploaded a file and back up it.
    MessageBox.Show("Already backed-up to ")
    Else
    Me.Close()
    Application.Exit()
    End
    End If
    Me.DialogResult = System.Windows.Forms.DialogResult.Cancel
    Form2.Close()
    Me.Close()
    End Sub
    here's my code wherein i have to compare the two database and save it into .txt file
    i just have to get this items
    Rack No:
    Date:
    Counter No:
    Barcode:
    Item Code:
    Item Description:
    Quantity:
    as a prooflist to be print out.

  • How to conncet mysql database and oracle database 11g2 on linux 5.4

    Hi,
    Can anyone help me to connect mysql server database to Oracle
    database on Linux OS?
    I have done all things, but I am getting a problem in installing dg4odbc
    driver on Oracle database. In a simple word, I don't know how to create
    listener between mysql database and Oracle database.
    If anyone knows that please help me in configuring dg4odbc for Oracle. OS
    -Linux 5.4 and refer any doc or link.
    oracle 11g2 11.2.0.1
    i follow the metalink id - 466228.1 ( but cant successed).
    Thanks and regards,
    pritesh ranjan

    hi pl z clear me it is required to install manully the dg4odbc driver for oracle to connect MySQL server database. because in my $ORACLE_HOME/hs/admin/initdg4odbc.ora is present automatically.
    details of the initdg4odbc.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = mysql_odbc
    HS_FDS_TRACE_LEVEL = off
    HS_FDS_SHAREABLE_NAME = /usr/lib/libmyodbc5w.so
    # ODBC specific environment variables
    set ODBCINI=/etc/odbc.ini
    set LD_LIBRARY_PATH=/usr/lib
    # Environment variables required for the non-Oracle system
    #set HOME=/home/oracle
    ~
    ~
    ~
    "initdg4odbc.ora" 20L, 437C
    details of the listener.ora file
    DG4ODBC =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA=(SID=dg4odbc))
    (HS=OK)
    SID_LIST_ORCL =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = orcl)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = ORCL)
    ADR_BASE_DG4ODBC = /u01/app/oracle
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = pritesh11gprim.oracle.com)(PORT = 1521))
    ADR_BASE_ORCL = /u01/app/oracle
    "listener.ora" [readonly] 37L, 779C 35,0-1 85%
    details of tnsname.ora file
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.132)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    DG4ODBC =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
    (CONNECT_DATA=(SID=DG4ODBC))
    (HS=OK)
    MYSQL =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
    (CONNECT_DATA=(SID=MYSQL))
    (HS=OK)
    when i m going to start the listener it could not be started..
    details of the mysql server database
    [root@pritesh11gprim ~]# mysql -u root -p
    Enter password:
    Welcome to the MySQL monitor. Commands end with ; or \g.
    Your MySQL connection id is 2
    Server version: 5.6.10 MySQL Community Server (GPL)
    Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
    Oracle is a registered trademark of Oracle Corporation and/or its
    affiliates. Other names may be trademarks of their respective
    owners.
    Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
    mysql>
    mysql> show databases;
    | Database |
    | information_schema |
    | demo |
    | mysql |
    | performance_schema |
    | pritesh |
    | test |
    6 rows in set (0.01 sec)
    if any where i m wrong then plz suggest me......
    thanks & regards
    pritesh ranjan

  • Having both 10g and 11g database in single xp machine Not working

    Hi everyone ,
    I installed an oracle 10g database and it was working fine and i wanted to have an 11g database installed and so i did in a separate folder and it got installed successfully but all the net service of my 10g is not getting recognized and so i uninstall 11g and it worked fine and back to normal.
    1. Can't i install both 10g and 11g in a database.
    2. How can i have both them installed without issues in Windows XP SP3 32 bit.

    Mo2 wrote:
    I have 10G express installed on XP and I was planning to install 11G.
    So what I learned from this thread:
    -Yes it is possible to install 11g and 10G on the same xp machine.
    -To use both version you must change few parameters every time.
    so basically it is possible but not recommended. is that a fair description?
    No that is not a fair description. It is possible and quite easily managed. But you do have to be aware of where you are. If you want to just pop in a CD, click 'install.exe', then click an icon to magicly connect to the correct database, then yeah, I'd say it's not recommended, but that says more about the user than the product ...
    Of course, could go even further and say I don't think Windows should be recommended, period. I've worked with IBM mainframes (s-370, OS-VS, OS-MVS, VM, OS/x, etc.), DEC's vms, IBM OS/2, every version of Windows since it's birth, Solaris, AIX, HP-UX, and Red Hat Linux. Windows is the worst excuse for an OS of any of them.
    If you are doing this on your on PC as a learning tool, I'd strongly suggest you
    1) go to vmware.com and get a free copy of vmware player and install it on your pc
    2) go to oracle.com and get free copy of Oracle Enterprise Linux and install that into a virtual machine under vmware player
    3) go to oracle.com and get free copies of whatever oracle products you want and install them on that virtual linux machine.
    By the way, I installed 11g on Vista machine and it is working fine but I uninstall 10G first on that machine.

Maybe you are looking for