Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-03-2007, 11:55 PM   #1
Registered: Aug 2006
Distribution: Fedora 7
Posts: 165

Rep: Reputation: 30
Problem with mysql in NetBeans 5.5

Hi everyone

i am using mysql database in linux fedora 7. i am able to start/stop the service from the terminal...

how to connect to it from netbeans 5,5 IDE using a java program .....

i have installed the driver file for mysql...
database url is --- jdbc:mysql://localhost:3306/test
driver is ---- com.mysql.jdbc.Driver

Please see the error message thta i am getting in the follownig link

It is asking for username and the password....?

i have got mysql installed from the fedora dvd.. i didnt give any password for it..?

i tried using root username and password & even normal user passwd also ..
it didnt work...

Please help me to use MySQL in NetBeans 5.5



Last edited by me4linux; 09-04-2007 at 12:08 AM.
Old 09-05-2007, 10:16 AM   #2
Registered: May 2002
Location: Thorverton, Near Exeter, Devon, England
Distribution: Ubuntu 10.04 (used to be Red Hat 7.1, then Red Hat 9, then FC 2, FC 5, FC 6, FC 9 and Ubuntu 8.04)
Posts: 105

Rep: Reputation: 16
Yes, it is asking for a password.

You should follow the instructions about setting passwords on the MySQL documentation pages - see - this shows you should set up passwords for root@localhost and root@% and I suggest you also do one for root@machine_name.

To be safe you should create another account that will be used for accessing your database, and do not use root.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Deployment Seam Application against MySQL 5 database to Jboss 4.0.5 utilizing Seam Plugin for NetBeans 5.5.1 LXer Syndicated Linux News 0 06-30-2007 01:16 AM
connecting mysql with jsp/servlet in Netbeans me4linux Linux - Software 3 03-13-2007 07:26 AM
LXer: Sun Announces the Latest in Open Source Tools with the Availability of NetBeans Visual Web Pack and NetBeans C/C++ Development Pack LXer Syndicated Linux News 1 12-31-2006 07:37 AM
netbeans installation problem tamtam Slackware 5 09-24-2006 10:31 AM
Software (netbeans) problem presuming_ED Linux - Software 1 11-16-2005 04:37 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration