Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 132833
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T06:19:31+00:00 2026-05-11T06:19:31+00:00

I have recently installed easyPHP at home to do some development work with my

  • 0

I have recently installed easyPHP at home to do some development work with my computer running as the server (Windows XP).

easyPHP sets up apache, php and mysql to work on your computer. I am having trouble setting the usernames and passwords for the mysql accounts (sadly, I’ve only ever done this through cPanel).

The easyPHP GUI lets you log into mySQL through what I assume is ‘root’ with no password but I’d like to change this ASAP.

Any advice? Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T06:19:32+00:00Added an answer on May 11, 2026 at 6:19 am

    you can create a user by this command:

    create user user@host; 

    example:

    create user farzad@localhost; 

    and then you my set a password for the user. you can use this line to create a password for current user you are logged in:

    set password = password('mynewpassword'); 

    in the above command, the password() function converts the string parameter to a hashed password that will be used by mysql to authenticate users. if you use this line:

    set password = 'mynewpassword'; 

    then you have entered your string as your password and it is not a hashed value, so you will not be able to login again later. so do not forget to use the password() function.

    to change password for another user, use this command:

    set password for user@host = password('userpassword'); 

    example:

    set password for farzad@localhost = password('dalkXfda23423'); 

    after creating a user and securing login with a password, you need to set permissions for the user. use the GRANT command to do this. general syntax is like this:

    GRANT {PERMISSIONS} ON db.table TO user@host;

    in this command, permissions are a comma separated list of permissions, like SELECT, INSERT, CREATE, DROP, DELETE. you can use ALL as a high level permission so the user can do most of the things. db.table specifies the tables of a certain database where the user might do actions. so you can restrict a user to only a table of a database, or use the wildcard * to permit on all of tables or databases. example:

    GRANT ALL ON myDb.* to farzad@localhost; 

    if you have not created a user, or set a password, by using the grant command you can create the user, set the password for him, and grant permissions all at once. syntax is like this:

    GRANT {PERMISSIONS} ON db.table to new_user@host IDENTIFIED BY 'userpassword'; 

    example:

    GRANT ALL ON myDb.* to farzad@10.0.0.1 IDENTIFIED BY 'dalkXfda23423'; 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 110k
  • Answers 110k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer "Interfaces" are not inherited, rather they specify what you have… May 11, 2026 at 9:35 pm
  • Editorial Team
    Editorial Team added an answer Probably the problems with timeout is in the databases. You… May 11, 2026 at 9:35 pm
  • Editorial Team
    Editorial Team added an answer You'll need to use TranslatePoint to translate the top-left (0,… May 11, 2026 at 9:35 pm

Related Questions

I have recently installed .net 3.5 SP1. When I deployed a compiled web site
I have recently installed Subversion onto a Linux server ( CentOS ) and everything
I have recently installed Nginx + Thin on my deployment server, but i am
I've recently installed VS2008. The project I'm working on uses vstest and I have

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.