This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


JavaRanch » Java Forums » Languages » PHP
Bookmark "Wampserver" Watch "Wampserver" New topic
Author

Wampserver

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..

Regards,
Bala





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..
 
GeeCON Prague 2014
 
subject: Wampserver