FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Add database created by phpMyAdmin into NetBeans

 
Post new topic   Reply to topic    NetBeans Forums -> PHP Users
View previous topic :: View next topic  
Author Message
petanorech



Joined: 20 Sep 2009
Posts: 13

PostPosted: Wed Sep 23, 2009 10:34 pm    Post subject: Add database created by phpMyAdmin into NetBeans Reply with quote

Hello,
I've created database by phpMyAdmin (part of the WampServer) and I'd like to add this database into NB, under Services. I've never done this before so I'd appreciate "for dummies" help Smile
I'm using mysql connector 5.1.10.

Thanks a lot in advance.
Back to top
View user's profile Send private message
Filip Zamboj
Posted via mailing list.





PostPosted: Thu Sep 24, 2009 8:19 am    Post subject: Add database created by phpMyAdmin into NetBeans Reply with quote

Hi,

so ... if I understand, you created database and it's accessible. I see
it's wamp, so it's probably localhost connection.

Let's have a database called DB, user: user, password: secret. Server is
accessible on default port 3306
Go to Services (ctr+5)
right click on databases
create new connection
Driver Name: mysql
port: 3306
database: DB
user name: user
password: secret
check remember password if you want to.
OK

now the connection should be established if your credentials are OK. You
will see a new connection with all databases user has access to and the
one you entered into new connection dialog will be selected (the same as
mysql use database command)

That's it.

-------------
Filip Zamboj
Sun Microsystems

[1] http://www.netbeans.org/community/issues.html
[2] http://qa.netbeans.org
[3] http://wiki.netbeans.org/HowToConfigureXDebug



petanorech wrote:
Quote:
Hello,

I've created database by phpMyAdmin (part of the WampServer) and I'd like to add this database into NB, under Services. I've never done this before so I'd appreciate "for dummies" help :)

I'm using mysql connector 5.1.10.



Thanks a lot in advance.










Back to top
petanorech



Joined: 20 Sep 2009
Posts: 13

PostPosted: Thu Sep 24, 2009 1:58 pm    Post subject: Re: Add database created by phpMyAdmin into NetBeans Reply with quote

Works great, thanks a lot Wink
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> PHP Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB