File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes PHP and the fly likes Wampserver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » PHP
Bookmark "Wampserver" Watch "Wampserver" New topic


bala kan
Ranch Hand

Joined: Aug 20, 2012
Posts: 44
Hi Friends,

Good morning to you all... I am beginner in php.. i am using wampserver to use php files.. now I am using the default user "root".. i would like to create the new account with password.. please tell me the way to do it..

Thanks in Advance..


Nick Charles
Ranch Hand

Joined: Oct 09, 2011
Posts: 71

I assume you are wanting to use a different account in the MySQL database. I usually sign into MySQL from a command line and enter the following commends. The first one creates the database that I will be using for the application, the second creates a new account and gives it access rights to the database:

Just replace databasename, username and password with what you want.
bala kan
Ranch Hand

Joined: Aug 20, 2012
Posts: 44
Thank you Nick..
I agree. Here's the link:
subject: Wampserver
It's not a secret anymore!