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

  • SEARCH
  • Home
  • 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 8020307
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T21:39:23+00:00 2026-06-04T21:39:23+00:00

I have imported a sql dump from a server to my local database. As

  • 0

I have imported a sql dump from a server to my local database.

As for now, root can automatically can access my new schema.

How can I create and set a username and password to that particular schema (eg.myDB1), so I can make sure all things are same from the local and server.

Edited: I want to set up e.g., kito as username and 123 as password.

Thanks ahead.

  • 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-06-04T21:39:25+00:00Added an answer on June 4, 2026 at 9:39 pm

    First Create a particular user,

    shell> mysql --user=root mysql
    
    mysql> CREATE USER 'monty'@'localhost' IDENTIFIED BY 'some_pass';
    

    Then grant access to that user to a particular database,

    mysql> grant usage on *.* to monty@localhost identified by 'some_pass';
    
    mysql> grant all privileges on amarokdb.* to monty@localhost ;
    

    Ref:
    http://dev.mysql.com/doc/refman/5.1/en/adding-users.html

    http://www.debuntu.org/how-to-create-a-mysql-database-and-set-privileges-to-a-user

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

Sidebar

Related Questions

I have imported my database by script from live site to my local server.
I imported data from MS-Access into a SQL database using the import/export wizard. Now,
I have imported near about 10 tables in Hive from MS SQL Server. But
Scenario: I have imported the data from SQl Server to HDFS. The data stored
I have an mnesia database dump from an ejabberd server (DCD, DCL, and DAT
I'm trying to clean a recently imported sql server 2008 database that have to
I am using SQL Server 2008 R2. I have imported 2 tables from excel
I have a MS SQL imported into SQL Server 2008 from a .bak and
I have created a passthrough query from an sql server database to display data
I have a database backup which I imported into SQL Server and made few

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.