• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Wampserver

 
bala kan
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 71
Linux PHP Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 44
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Nick..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic