New user - Netbeans 6.5 Trying to create a database - have I created a mess

I followed the car database example, then I set out to create of my own.
I created dbtest1 and added a table. I delete it a few times as I wanted different data types for some of the fields. Is there a better way to do that than deleting the table?
When I tried to run my application I was getting an error Schema USER not found. I thought I might have made a mistake by using user instead of nbuser so I deleted the project directory.
I then attempted to create the dbtest1 database again using a SQL script and I believe I got the error like nbuser was not valid for the database.
I tried to open the connection and now I only see the sample and car entries. If I try to create database it tells me "the database location already contains a file named dbtest1".
I am not finding much info in the HELP index on how to some of this.

I sounds like you may be using java to run an sql statement that creates and alters a database table. If so, I suggest you drop this idea and use the database utility tool that comes with the database. I suggest only using java to query,update, insert, delete records in a table created by the tool. Two free database MySql and OracleLite. One reason I wouldn't use java is that in addition to creating the table, you need to specify what fields are nullable, which is the primary key, how the primary key is incremented (manually or automatically). You also may have to create a public synonym so you can reference the table by name (example: select * from person) rather than have to specify the schema with the name (example: select * from mySchema.person). Its probably worth your time to learn how to use the database utility tool to create tables before getting into the java side of it.\
Also, when you create a table, you have to 'grant' a user permmission to query, update, insert, and delete against the table. The utility will alow you to do this. I beleve this is the issue you currently have with USER.

Similar Messages

  • I've tried to set up a new user on a mac book pro and i restarted it to create the new account but now all i can get is a white screen with the apple logo and the loading symbol what can i do ?

    i've tried to set up a new user on a mac book pro and i restarted it to create the new account but now all i can get is a white screen with the apple logo and the loading symbol what can i do ?

    Look at this support article:
    http://support.apple.com/kb/ts2570
    Ciao.

  • HT201240 This process does not appear to work for me.  I'm running 10.8.3.  I created a new user for a guest staying with me.  They have gone now and I am attempting to either change the password or delete the user.  It won't allow me to choose the user I

    This process does not appear to work for me.  I'm running 10.8.3.  I created a new user for a guest staying with me.  They have gone now and I am attempting to either change the password or delete the user.  It won't allow me to choose the user I created.  I am logged in as myself and it states that I am an "Admin".  The user I'm attempting to change is listed as a "standard" user and there is a white checkmark inside an orange circular background on the user pic in the list of users. 
    Can someone help me?  I am having a hard time believing that OSx will allow me to create users and allow them use of my computer and it's drives, yet it will not allow me to change the password so I can monitor what they might have been doing while logged on?  What if this were my child?  This guest left under sketchy circumstances, and I'd really like to be able to ensure they were not using my computer to do illegal things or to have illegal communications.
    Any help would be appreciated.  (It's odd that it was so simple to "create" a user and set a password for them.......but it's complicated or a little known process to reverse.
    Thanks.

    Here are two screen shots to show you what I am seeing.  The first screen shot shows it allowing me to select (highlighted in blue) my admin user (which is what I am locced in as).  The second screen shot shows it allowing me to select the "Guest" user (highlighted in blue).  However when I click on the user "Orion" nothing happens.  It will not change to highlight that user.

  • Windows 7 Home Premium problem creating new user account

    I am unable to create a new user account on my Windows 7 Home Premium computer. I have 3 accounts on it already, two are adminstrators, and just trying to add a fourth one (standard user).
    I go to User Accounts, click Create new account, give it a name, keep Standard user checked, and press Create Account. The account appears to get created and shows up on the User Accounts screen, though it shows that it is password protected already, even
    though I didn't have an opportunity to give it a password yet. I can manage that new user account and delete the password, and it then shows up on User Accounts as not having a password.
    When I try to log on as that user from the main logon screen, it prompts me for the password (if I have specified one), but it doesn't accept the password (I've tried defining and using various ones), and I get the message "The user name or password is incorrect".
    If I don't define a password for that account, when I click on the account button to logon, I get that same error message immediately.
    I also noticed that C:\Users doesn't include the new user account folder there. Don't know if that should've been created at this point before logging on for the first time. I also noticed that there's a "Default User" folder that has a lock on the folder
    icon, and I'm not able to open that folder (says it's invalid). There is a "Default" folder there with some content in it and I am able to view it. Don't know if either of these folders act as templates for new users.
    At some point months ago I did have a profile problem with one of the existing accounts, and had to follow some suggestions on repairing that user profile. Don't know if that perhaps has complicated things. The 3 existing user accounts are working fine.
    Any tips on what I can try to get a new account established?
    Thanks, Chuck
    Chuck Mastrandrea

    I am unable to create a new user account on my Windows 7 Home Premium computer. I have 3 accounts on it already, two are adminstrators, and just trying to add a fourth one (standard user).
    I go to User Accounts, click Create new account, give it a name, keep Standard user checked, and press Create Account. The account appears to get created and shows up on the User Accounts screen, though it shows that it is password protected already, even
    though I didn't have an opportunity to give it a password yet. I can manage that new user account and delete the password, and it then shows up on User Accounts as not having a password.
    When I try to log on as that user from the main logon screen, it prompts me for the password (if I have specified one), but it doesn't accept the password (I've tried defining and using various ones), and I get the message "The user name or password
    is incorrect". If I don't define a password for that account, when I click on the account button to logon, I get that same error message immediately.
    I also noticed that C:\Users doesn't include the new user account folder there. Don't know if that should've been created at this point before logging on for the first time. I also noticed that there's a "Default User" folder that has a lock on
    the folder icon, and I'm not able to open that folder (says it's invalid). There is a "Default" folder there with some content in it and I am able to view it. Don't know if either of these folders act as templates for new users.
    At some point months ago I did have a profile problem with one of the existing accounts, and had to follow some suggestions on repairing that user profile. Don't know if that perhaps has complicated things. The 3 existing user accounts are working fine.
    Any tips on what I can try to get a new account established?
    Thanks, Chuck
    Chuck Mastrandrea
    I agree with the same problem and the answer below did not work either.  I tried changing permissions to Users directory and that did not work either.  I even tried creating the directory name of user I wanted to install and that was recognized and
    being used, but will not start a user directory for new user.

  • New user created in oracle 11g (release 2) is not connecting (ORA-01017)

    Hi All,
    Kindly help me out regarding this.
    I have created a new user using "ORACLE Enterprise Manager 11g" and used the same credentials in SQL developer for a new connection and it throw "ORA-01017: invalid username/password; logon denied" message.
    Kindly note that have followed the following steps in creating user:
    On the Users page, click Create.
    In the Name field, enter NICK.
    In the Profile list, accept the value DEFAULT.
    This setting assigns the default password policy to user Nick.
    In the Enter Password and Confirm Password fields, enter a password that is secure.
    Create a password that is secure. See Oracle Database Security Guide for more information.
    Do not select Expire password now. If the account status is set to expired, then the user or the database administrator must change the password before the user can log in to the database.
    (Optional) Next to the Default Tablespace field, click the flashlight icon, select the USERS tablespace, and then click Select.
    All schema objects that Nick creates will then be created in the USERS tablespace unless he specifies otherwise. If you leave the Default Tablespace field blank, Nick is assigned the default tablespace for the database, which is USERS in a newly installed database. For more information about the USERS tablespace, see "About Tablespaces".
    (Optional) Next to the Temporary Tablespace field, click the flashlight icon, select the TEMP tablespace, and then click Select.
    For the Status option, accept the default selection of Unlocked.
    You can later lock the user account to prevent users from logging in with it. To temporarily deny access to a user account, locking the user account is preferable to deleting it, because deleting it also deletes all schema objects owned by the user.
    Grant roles, system privileges, and object privileges to the user, as described in "Example: Granting Privileges and Roles to a User Account".
    Note: Do not click OK in Step 13 of "Example: Granting Privileges and Roles to a User Account". Instead, skip that step and continue with Step 12 in this procedure.
    Assign a 10 MB quota on the USERS tablespace, as described in "Example: Assigning a Tablespace Quota to a User Account".
    If you did not click OK while assigning the tablespace quota (previous step), click OK now to create the user.Kindly note that I have log in as SYSTEM user and created this new user.
    Could any one help me regarding this ?

    After connecting with sqlplus, as user SYSTEM and when tried the below, I could see that the new user created by me does not exist..
    select '--' || username || '--'
    from dba_users
    order by username;
    But when tried with GUI "ORACLE Enterprise Manager 11g" I can very well see the new user created by me..
    How is this possible mate??
    Is the user not properly created through GUI (than from where it is showing the new user)
    Some more information i want to share;
    i have used schema "HR"
    And have used table space "USERS"
    And tep tablespace "TEMP"
    Edited by: 828569 on Jan 16, 2011 9:01 PM
    Edited by: 828569 on Jan 16, 2011 9:03 PM

  • If you can't 'Create new user account' - try this!

    Over the last few days I've wasted many hours trying unsuccessfully to create a new user account so I can post to Apple Discussions. Kept going round an endless loop, back to the 'Create New User Account' form. Tried every possible solution I found through internet searches, to no avail.
    The answer, for me, turned out to be simply choosing a different alias - one that nobody else was using, presumably.
    Why, oh why, isn't there an error message that tells you this? It would have saved me so much time and frustration - and many other people too, I'm sure.

    Welcome, finally, to Discussions - you are not the first to complain about this, if you like, you can go to app.com/feedback and register your complain there as well.

  • How to Create New users in 9.3.1

    Hi All,
    Could you please tell me how to create the new users and their groups for sepecific cube in 9.3.1 version and how to grant the permission roles.
    Will Shared Services does the above actions. if yes could you please let me know the steps to create the new users.
    Thanks in Advance,
    Raj.

    Hi,
    Here is how to create users in Shared Services :- http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_cas_help/crtuser.htm
    The rest of the information for Shared Services is in :- http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_cas_help/frameset.htm?apc.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • I need a procedure for creating a new user in SAP NW(BPC)

    Hi,
    I am doing Migration project from SAP BPC MS to NW.
    I don't know how to create a new user in NW.
    Could you please provide a document to create or add a new user in NW.
    Thanks and Regards
    Krishna

    Hi Krishna,
    If user authentication method is AD, all AD users can be added into BPC for the required access, The task 'Define Security' covers who can add users, create or modify task and member profiles.
    The guide is a good place to start understanding it.
    If you already have a list of users and would want to mass manage the users into your new system, you could also use the program: ZUJE_MASS_USER_MGMT (to import users, teams, profiles into the target system).
    Note: Users and Teams are not included in the transport. So you need to manage them outside either by using the program that I mentioned above or add them individually using admin client.
    Thanks,
    Sreeni

  • Create new user process - BPM11g

    I need to develop a Create New User Process in BPM11g.
    Managers can start this process and create new users for new employee so that the new employee can log in the workspace and start to work.
    How can I achieve this in 11g?
    I find this perhaps involves weblogic authentication and user role API.
    Is anyone familiar with these?

    Hey
    CREATE USER "TEST" PROFILE "DEFAULT"
    IDENTIFIED BY "test" DEFAULT TABLESPACE "USERS"
    ACCOUNT UNLOCK;
    GRANT "DBA" TO "TEST";
    But be careful to grant all privileges (DBA)
    Regards

  • Create new user session after RFC connects

    Hi,
    My client is non SAP. They connect to SAP through an intermediate software , using RFC connections. My client requires that when creating a BOM through BAPI, the "created by" column should have a user name they pass, and not the username with which the RFC connected .
    Is it possible to have a FM in which I can create a new user session, passing username and password, call the bapi that will create the BOM with this username, and close the session?
    Kindly help.
    Thanks in advance

    Most security audits will trigger a warning when they determinate that the RFC common user is allowed to use another logon id. Usually you can provide auditors a list of such id with explanation before the audit execution, sample of explanation to provide :
    - The RFC enabled FM which create the batch job must pass the logon id to be used, and the calling application must not allow user to change this value.
    - The RFC default logon, should be allowed to the minimal authorization required, and could be for example allowed to no transaction, only some RFC FM. (start with [Note 460089 - Minimum authorization profile for external RFC programs|https://service.sap.com/sap/support/notes/460089])
    Regards,
    Raymond

  • EJB New User Create Race Condition

    If I have an EJB that creates a new user account that does the following in the method:
    if username already exists then
    send error message to user
    else
    proceed with new user creation
    end if
    How do I prevent the following race condition:
    User1 EJB: user name does not exist
    User2 EJB: user name does not exist
    User1 EJB: create new user
    User2 EJB: create new user
    Thanks,
    Kurzweil4

    unfortunately, you don't. however, assuming you have a unique constraint in the database, you can do this, but it's tricky because you might not get the failure until the transaction is committed. i personally would handle this by having the "main" (remote) method call untransacted. make this method call a second local ejb with a transaction context of create-new. do the actual work within this second method call. when this second method returns, either the call succeeded, or you will get some sort of ejb transaction rollback exception. you can then handle this exception in the outer method call.

  • Possible bug in GDM with new user

    Hi, I created a user in the system settings app in gnome and I set the password to be set at first login, but now logging out of the current user and trying to login to the new user without the password on gdm I just get nothing where 'create new UNIX password' used to be.
    So I cant create a password for a new user from GDM in 3.6 like I could in 3.4. It might be a bug?
    To get around this you can obviously just run
    passwd 'user'
    Is this just me?

    It's not just you. You should open a bug report upstream.

  • New user account "other" and cant delete it

    hi everyone,
    i dont know what caused that but since yesterday i have that new user account "other".
    i tried to delete it with root-user but it isnt shown there, activate root-user and delete again after restart didnt work either.
    is some of the professionals here able to help me? i bad need an idea to fix that. Its on my macbook pro and also at my macpro, both with OS 10.6.8
    Only new software i installed was MindManger 9 Upgrade direct from MindJet.
    Thanks a lot ;-)

    Hi Atlan,
    in the forum of Livescribe it is stated as a known problem
    They are working on it.
    Also some suggestions from other user how to get rid of the account.
    I have not tried that as it seems you than delete also the Livescribe account and desktop.
    I just wait till an update from Livescribe comes out.
    To not show that other account you can change settings for login screen
    Just show field name and password.
    Now, I believe showing th eother account cannot do harm.
    It is not the root account. That's disabled as I have seen.
    The only question: Can Livescribe takeover your computer?
    And if so, hacking livescribe will possible mean that they can hack your system then?
    So, the only rigid solution is: delelete all Livescribe etc. , go to timemachie and set back your system.
    But only if I would know the other account can create problems I would take this major step.
    For now I wait and see
    So, lets see what Livescribe will do and at what speed!
    here the thread at Livescribe:
    https://www.livescribe.com/int/faq/support_forum.html#/forums/showthread.php?t=1 1253&page=2
    Regards,
    Ronald

  • Moving All The Important Stuff to a New User Account. What to take?

    It's been quite an eventful week and, because I can't turn %%$$! FileVault off on my original user account, I've just decided to move over to my back up account. "Brian" now has Admin abilities but I was wondering about the process of getting Brian to look/feel just like my original, now f'ed up account. Is it just about putting the Preferences file folder onto an ext. HD and putting it into the new account's Library? (I've managed to screw things up REAL BAD messing about with my Preferences Folder. I really don't want to go through that again!)
    Anyway, anything else beside the above folder? I've got all my music and photos/movies already on the Ext. HD. I'm so mad at the Brianhardy account, I really look forward to deleting it. (No, that doesn't make any sense...)
    Finally, how do I pick a better picture for brian for the users window? Nothing against dogs but.......
    Thanks.
    Brian

    Hi Brian
    I went through what you are currently describing for the same reason as yours: disabling FileVault. Let me give you a few suggestions.
    First of all, what I did is I actually went through all the files in the Preferences folder, to choose the ones I really wanted to move to the new account. There were so many obsolete preference files in there remaining from uninstalled apps that it was worth seriously cleaning up this folder.
    Second, the Preferences folder is probably not the only folder in your Library you want to migrate. I'll give you a list of the stuff I migrated, but some of if might not apply to you.
    My address book. It was corrupted, so I ended up exporting all the contacts, group by group, and importing them into the fresh, new address book on the new account. But you might not have to go through this trouble.
    My calendars. I am a .Mac subscriber, so I synced over .Mac between the two accounts. (Be careful, it is a bit more tricky than it sounds). Same for all the stuff that can be synced (see the .Mac preference pane): Safari bookmarks, email accounts and rules, keychain... For some reason the keychain sync did not work, so I had to do the same export-import procedure as for my address book, except I had to give my password for every item in the keychain... :S I can type my password pretty fast, now :P
    /Library/Application Support/iWeb if you use iWeb to create websites, which I don't recommend, after fighting with it for quite a while (but I haven't tried iLife'08 yet). More generally, you should have a look into this Application Support folder to see if anything in there is worth migrating.
    /Library/Mail
    /Library/Sounds because I had put lots of custom sounds in there that I can use for iCal alarms
    /Library/Widgets
    By the way, after migrating to this new user, I decided NOT to make it an admin, and to create a second new user with admin rights. I read this makes your mac more secure. Whenever you do something that requires admin rights, you enter the username and password of this admin user.
    I also kept the old user for a while, just in case I realize later that there is something I forgot to migrate (which happened a couple of times). I just deleted it a few days ago.
    Changing a user's picture can be done in the Accounts preference pane in the System preferences.
    Good luck

  • Try resetting camera error-New user account works

    I went to capture using a Sony DSR-11 in Premiere and got this error. I have recently (over three months ago) have only been using a JVC HD-100 camera in Premiere Pro to capture with no problems. After many tries, I researched Adobe and went through there correction method with multiple steps for correction. In the end, when I created a new user in Windows and logged into the new user, Premiere Pro sees the deck with no problem. I then went by there steps and switched back to my log-in and it fails giving me the same error.
    So this has to be a DV codec, registry type of issue. I tried using Graphedit as mentioned in one of the steps, to find the problem dll but can't locate it. I also did the delete the 1394 device in one of the suggested steps and Windows re-installed the 1394 driver but it did not fix the problem. Any ideas on what/where to look? I would really hate to switch back and forth between user accounts just to capture and I would hate even more to migrate to the new user account. Thanks in advance, Jose Burgos
    www.burgosfx.com

    Windows XP Pro SP3.
    It works when I create a new user so it's not the deck. I somehow have activated another DV capture dll when I installed another software, from what I read from the Adobe help section. Adobe suggest creating a new user and testing. If that works, which it does, then try back in the original and if that does not work, migrate to the new user. I am trying very hard not to migrate.

Maybe you are looking for

  • How to set up AirPort + Time Capsule On the Same Network but make it so only i use it?

    Ok so i am planning on getting the AirPort + Time Capsule in a few weeks, and i have seen many peole talk about how there is a right way and wrong way to set it up because apperently the bad way makes it run slow? Well i have two questions, one is ho

  • Color Bars Out of alignment after QT Export

    I am currently running Final Cut Pro 6.0.3. Recently I outputted a few files to send to a post house so that they could export a project to tape for me because I dont have an HDCAM deck. My sequence settings were: 1920x1080 HDTV 1080i (16:9) Compress

  • How to detect faulty 12" PowerBook hardware

    Hi everybody An old buddy is selling his 12" PB and I'm thinking on buyin it from him. Can you guys help me make sure I don't fall into a trap.... I used to have a 15" PB and I know for instance USB ports failure is quite common, and some say even RA

  • Image loading problem in all OS X browsers

    This is a really perplexing. When I'm surfing around, Safari refuses to load some images on pages. It happens randomly but most reliably on MySpace. Here's what I typically see on a user's MySpace page... http://img198.imageshack.us/my.php?image=ss0z

  • I can't export any video as an avi. file, any help or ideas?

    I own Adobe Premiere Pro CS4 and after finishing up a video and rendering it I try to export it with unexpected results. After clicking 'Export', 'Media', I choose to export as a 'Microsoft AVI' file and no matter which settings I use I cannot get it