This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
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

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
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!