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 4045562
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T13:26:45+00:00 2026-05-20T13:26:45+00:00

I need a password for an user as Drupal’s installation asks that. I’m totally

  • 0

I need a password for an user as Drupal’s installation asks that. I’m totally newcomer on creating databases so I tried this:

CREATE DATABASE 'drupaltest';
CREATE USER 'jaakko'@'localhost' IDENTIFIED BY 'password';

But PHPMyAdmin says

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`password`' 

Could anyone say what queries should I put to make an user with password that Drupal’s installation requires and what grants should the new user have?

  • 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. Editorial Team
    Editorial Team
    2026-05-20T13:26:46+00:00Added an answer on May 20, 2026 at 1:26 pm

    What you have should work I think. The only things I can think of is maybe you have the wrong type of quotation marks or maybe it has an issue with you setting password to ‘password’. Perhaps try set it to something else. If that doesn’t work maybe try create the user and then in a separate statement set the password and see if / where it trips up. E.g.

    CREATE USER 'jaakko'@'localhost';
    SET PASSWORD FOR 'jaakko'@'localhost' = PASSWORD('newpass');
    

    This will also store the password more securely since the hash value will be stored instead of just the plain-text.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using C#, I need a class called User that has a username, password, active
I need to store the user's password in my iphone app. When posting an
I need to be able to change a user's password from a cron task
I need a simple table with a user name and password field in MySQL.
I need a Javascript application that, when run, prompts a password to be entered,
how do you create a new database user with password in sql server 2005?
I need a login system to check the user password. I know about salting
I need to let the user enter their password in the user/register process. I've
I need to write some validation rules for a user password with the following
I need to query current domain controller, probably primary to change user password. (P)DC

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.