How do we specify the username in sql

Hi^^,
while writing the conectivity statement we use this statement
Connection con = DriverManager.getConnection("url","username","password");
were we specify that:
username="root";
password="root"
url="-----"
My question is where in the system it is specified that the username ="root" and when do we specify it. we specify it while installing mysql or when...?
Regards,
Prashant

as i understand your question:
root username is the owner for the database ,root has all privilage to create/grant other accounts
so whenever you install mysql there is root username and password as you specify it in the installation phase

Similar Messages

  • How do I specify the gmail outgoing server if I have multiple gmail accounts in my mail? I have 2 business accounts and when I send mail from one account, it is sent from the other account and the sending email is not from the correct account.

    I love my apple email and do not want to use google mail on safari. However, I have 2 gmail accounts set up on apple mail, but when I send mail from one of my gmail accounts (I choose the specific gmail account in the drop down window), it actually goes out as if it is from the other gmail account. I can't have that happen because one is my job, the other is a personal business account and unfortunately, the mail from both gmail accounts want to send through the personal business account. How do I make it send from a specific gmail account? I even tried deleting the accounts and setting them up again hoping I set it up wrong in the first place, but to no avail, it is still doing the same thing except this time I set the job account up first and then the personal business account and now everything goes from the job account! The only good thing is that the incoming messages work properly and they go into the correct inbox. Somebody please fix my outbox!

    In Mail Preferences/Accounts/each GMail account, set up the SMTP Outgoing Server for each account separately, going into SMTP name/edit/Advanced and specify the Username of each account.  The Outgoing servers must be two different servers, authenticated by the Username and Password of each.
    Otherwise, the GMail SMTP server will change the from address to that of the account where the SMTP server was setup.
    Ernie

  • How can I specify the path in Form Builder 9.0

    Hi, everyone,
    could anybody tell me how can I specify the path in Form Buidler 9.0? there is problems when I want to attach library in form builder. thanks to Kuldeep RAwat and Natalia Vidal, I know I should specify the path, but I still don't know how to specify, how can I do?
    besides, when I run a form, sometime there will be a warnig:
    Please acknowledge message
    what's that meaning?
    thank you very much for your great help

    Shay Shmeltzer thank you very much for your so quickly response. I have modified the file and my form can run now!
    but, when I open my form, it always suggest me:
    FRM-10102: Cannot attach PL/SQL library TalbotStandard. This library attachment will be lost if the module is saved.
    so everytime I open my form, I must attach the library manully. I don't know the reason. do you know that or anybody else knows that? thank you very much!
    have a good weekend :-)

  • Where to specify the USERNAME from UI code

    Hi all,
    we have moved to SUP 2.1.2  and generated the code. we now wanted to know where to specify the USERNAME for the device registered in SCC in the UI code(under SupApplication class username is not available). also we want to know the sequence of method to be called to access the MBO data.
    please do the neeful by providing your inputs
    thanks
    SK

    This is a very interesting question.
    If you set up a tunnel between the BPEL process (client) and your async invoicing service, you will notice that the BPEL Engine will automatically add a WS-Addressing header to the SOAP request that is sent to the invoice service. That WS-addressing header includes both the callback location (the location where the invoice service) as well as the correlation id that the invoice service need to send back to the engine. The invoice service will need to add a WS-addressing header to the callback invocation so that the BPEL engine knows how to match a callback message to a specific in-flight instance. Does this make sense?
    Once you have this running, would you be interested in writing a small article on this so that we can publish it on OTN and may be integrate the sample into the product?
    Edwin

  • How do i send the username and password to yahoo web page through url

    how do i send the username and password to yahoo web page through url i.e as Query string so that my account in yahoo will open...

    If you don't mind using a library, then download and use the Apache HttpClient library. It takes care of all these details for you.

  • How can i clear the usernames and passwords history from all login websites?

    how can i clear the usernames and passwords in the log in history of the websites? example when i want to login to my facebook i always type first letter of my e-mail and it comes with the passwords because before i put remember my password, and in other websites so, i just need to delete all this login history and it's not working from the clear everything !!! :S any idea please !! thanks in advance :)

    See:
    http://kb.mozillazine.org/Deleting_autocomplete_entries
    http://kb.mozillazine.org/Password_Manager

  • How can we specify the Mailbox for Notes?

    In Mail.app, how can we specify the Mailbox for Notes (where the new notes will be resided)? It is now 'On My Mac'. I wish to change to my IMAP Mailbox so it sync with my iPhone by just checking email (not by syncing on iTunes).
    Thanks in advance.
    Message was edited by: Ekapon

    You could use the DecimalFormat or NumberFormat to do the job.
    double number 1234.567;
    DecimalForamt df = new DecimalFormat("###.##");
    String s = df.format(number);or
    double number 1234.567;
    NumberFormat nf = NumberFormat.getNumberInstance();
    nf.setMaximumFractionDigits(2);
    /* if needed.
       nf.setMaximumIntegerDigits(value);
       nf.setMinimumFractionDigits(value);
       nf.setMinimumIntegerDigits(value); */
    String s = nf.format(number);I didn't test the codes but they should work. For more information, please consult the documentations.

  • How can I specify the default tab in a CHM Output?

    My company uses CHM-based help for some of its products. We build the CHM files from RoboHelp 9, and while these CHM files don't really have a full Index attached to them, the Index tab shows up in the output anyway. Unfortunately, we are suddenly seeing that when the CHM file is launched from our program, the Index tab is displayed by default. We'd rather have the Contents tab be the default look, especially considering that the Index does not exist.
    I have poked around into how you can specify a default tab for a CHM file, and the only information I have found suggests that using a CHM file creates a file (HH.dat) that specifies which tab should be displayed on a user-by-user basis, and that the last tab displayed when you close the CHM should be the first one displayed when you re-open it. While this is true if you open the CHM independent from the product, when you launch it from our program, it's all Index, all the time.
    So, my question is: How can I specify the default tab for a CHM file? Or, failing that, how can I excise the Index tab from my CHM output.

    Hi there
    This will be something up to your application developer to resolve. When s/he issues the call to open the CHM, there are parameters that may be used to always open with the desired tab "in front".
    Point your developer to the link below and advise that s/he is most likely interested in the section titled: Programming Tips.
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • How do I get the Username of an AnyConnect VPN session via SNMP?

    I would like to monitor the usernames of my AnyConnect sessions via SNMP.  This will allow me to monitor, graph, report, and alert using Solarwinds Orion (or any other SNMP software).
    I would like to monitor this on my ASA 5520. I have run the show snmp-server oidlist command and I can see all of the OID's that I can poll. However, the OID I would like to poll crasUsername (1.3.6.1.4.1.9.9.392.1.3.21.1.1) is not working.
    Does anyone know how I can monitor the username of a AnyConnect session via SNMP?
    Below is a link to a great MIB reference for ASA Remote Access Monitor OID list.
    http://www.mibdepot.com/cgi-bin/getmib3.cgi?i=1&n=CISCO-REMOTE-ACCESS-MONITOR-MIB&r=cisco&f=CISCO-REMOTE-ACCESS-MONITOR-MIB.my&v=v2&t=tree

    Hello PDX,
    Welcome to the HP Support Forums!
    To get your issue more exposure I would suggest posting it in the commercial forums since this is a commercial product. You can do this at Commercial Forums.
    Regards,
    JERENDS
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • How do I specify the JRE i wish to use to Run an Application.

    Hi Everyone;
    Please bear with me if you read this before.
    I have installed java 1.3.1 and java 1.4.1 in that order.
    The JRE used by default is java 1.4.1
    How do I specify the JRE I wish to use to Run an Application from a command prompt.
    Example:
    Java -something org.jboss.Main
    help ??
    Stephen

    I was a lil embarrassed. I told my supervisor that the installation of java overwrites the JRE and that's that.
    My supervisor took 10 minutes and went through it and found java.exe in the System32 file.
    The java.exe file is found in guess where "C:/WINNT/System32/" folder how nice. C:/WINNT/System32/ is in the path. Not only that it's the first entry in the path. So when I execute java it is not using java.exe any one of the java files that I got from the java website.
    So I don't have any control over the version.
    Oh well;
    That's life. That's 1 for my supervisor.
    Stephen

  • How do i specify the port form where i want to send the mails

    i have smtp server which by default has proxy at port 25.So i want to send the mails through some other port.So how can i specify the exact port in the bean(i am using a bean to send email) so that all the mails through that port.my machine is having public ip.so what i do is Properties prop = new Properties();
    prop.put("mail.smtp.host",hostname);but how do i specify the port name coz this sends the mail at port 25 by default.

    prop.put("mail.smtp.port",portnumber)

  • How can I specify the attribute AU_SIZE in OUI

    Hello,
    How can I specify the AU_SIZE when i create the disk group for OCR and Voting disk when i install the GI home.
    Basically i want to create the Disk group with AU_SIZE as 4MB when i create it Via OUI.I know I can edit the attributes when i do using ASMCA.But not sure about OUI.
    Please can someone guide me ?
    Regards
    Joe

    Hi Joe,
    Did you mean that i will need to move the OCR/voting **** to another diskgroup -> drop the one created during installtion -> recrerate the diskgroup with AU_SIZE as desired Yes.. you must move OCR, VOTING and ASM SPFILE to another diskgroup and recreate the diskgroup.
    Doc said : Oracle recommends that the allocation unit (AU) size for a disk group be set to 4 megabytes (MB).
    I do not see benefits to configure the AU SIZE 4MBytes for diskgroup that will store only Clusterware Files.
    The voting files are stored directly on ASM Disk (i.e not use AU SIZE). The OCR File and ASM SPFILE use AU SIZE, but are not frequently accessed (low I/O) and files are too small to configure AU to 4MBytes.
    Set AU SIZE makes a difference when you do need high I/O throughput. i.e: Used to Diskgroup that will store Datafiles.
    I recommend you read my point of view how to store VOTING Files, OCR and ASM SPFILE on ASM.
    Re: 3rd voting disk on nfs share
    Regards,
    Levi Pereira

  • How can we specify the number of decimals to be printed

    How can we specify the number of decimals to be printed
    such as "%5.2d" in C.
    Can anyone help me

    You could use the DecimalFormat or NumberFormat to do the job.
    double number 1234.567;
    DecimalForamt df = new DecimalFormat("###.##");
    String s = df.format(number);or
    double number 1234.567;
    NumberFormat nf = NumberFormat.getNumberInstance();
    nf.setMaximumFractionDigits(2);
    /* if needed.
       nf.setMaximumIntegerDigits(value);
       nf.setMinimumFractionDigits(value);
       nf.setMinimumIntegerDigits(value); */
    String s = nf.format(number);I didn't test the codes but they should work. For more information, please consult the documentations.

  • HT1277 how do i specify the default mail account

    how do i specify the default mail account if i have more than one accounts?
    Not to worry i have found the setting, thanks
    Message was edited by: Teli Proto

    hmmm.. I've been complaining about this to the engineers for over a year. The storage location should be chooseable as should there also be a backup feature (as in Addressbook and iCal).
    for those that want to change this... it would be cool for someone to write a non cryptic, complete 1,2,3 stepped procedure.
    That is.. exactly what do you change to what in the mail user preference file? And what do you use to change it.. text edit? "[ ]" heretofor = folder
    I would like to change my Mail storage location to the my [Documents] . Using Text Edit, I went into my user [Library], to [Preferences] and opened the com.apple.mail.plist and changed all the ~/Library/mail storage locations to ~/Documents/Mail
    lastly I moved the [Mail] that was in the [Library] to my [Documents].
    Didn't work. Restarting Mail got me into the guided set a new account (and as far as I can see there IS no way of not taking the guided set up as alledged above). There must be something, some built-in direction other than in the [Preferences] defaulting mail to be saved in the [Library] folder
    If someone has done this and been successful.. a 1,2,3.. list would be apprecaited... and please don't leave any details out. Thanks
    dual core Intel G5   Mac OS X (10.4.5)   Pismo powerbook specialist

  • My iCloud on my iPad is in my ex partners name and I don't no his password . How can I change the username in 2 my name ?

    My iCloud on my iPad is in my ex partners name and I don't no his password . How can I change the username in 2 my name ?

    iCloud from an account perspective is associated with the AppleID. Unless you have the password, there's nothing you can do to modify it.
    As suggested, you just want to create your own and reassocited the iPad with your new one. You will lose data and purchased apps, however. Basically, you will be starting from scratch.

Maybe you are looking for

  • Why can't two different users use Itunes on the same computer with different log ins

    Why can't two different users use Itunes on the same computer with different log ins

  • How to jump into an existing website

    i created a site about 15 years  ago. it has since been maintained by someone else, and now it's back in  my lap. I used a different program to design it then and i'm heck'a  rusty at the whole thing. i need help with how to get  access to the site, 

  • Add Bus area to CR header not working.(OTC must be supplied)

    Hi Experts, We have used the following doc to allow for business area on the general screen of our change request: Enhancement of the User Interface Building Bloc... | SCN We have Gone through most of the actions but now encounter an error. We use tr

  • Question on seeburger mappings

    Iam going to work on seeburger, at the moment we have installed seeburger on PI7.11 We have some vendors who woukd initiate the EDI transactions, we would be getting a request in EDI format for wchch we need to respond back. I have a little ide that

  • How to open a Logic express project in Logic Pro7

    Hello All, I am not sure if this is possible or not. I am working in Logic Express 8 and my buddy has Logic Pro 7. We would like to be able to take what I'm recording and bring the project into Logic Pro7 but I can't seem to be able to do so. Any sug