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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T05:23:20+00:00 2026-06-17T05:23:20+00:00

I downloaded the mysql dmg file and went through the wizard to run. Done.

  • 0

I downloaded the mysql dmg file and went through the wizard to run. Done. I have also started mysql server under system preferences.

The purpose of me doing this is to work through the exercises of my SQL text book. The terminal commands are new to me but I think once I can actually get started, working through the exercises should be OK.

From researching the web the various blogs tell me to navigate to to the mysql folder in the terminal:

/usr/local/mysql

Fine. Then it gets a little less clear as nearly each article has a different set of instructions on how to proceed. I was fiddling with it yesterday and was prompted for a password – what is the default mysql password?

Could someone give me the steps to get up and running with mysql via the terminal?

  • 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-17T05:23:22+00:00Added an answer on June 17, 2026 at 5:23 am

    (Updated for 2017)

    When you installed MySQL it generated a password for the root user. You can connect using

    /usr/local/mysql/bin/mysql -u root -p
    

    and type in the generated password.

    Previously, the root user in MySQL used to not have a password and could only connect from localhost. So you would connect using

    /usr/local/mysql/bin/mysql -u root
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have simply downloaded my joomla+virtuemart files from the server and the mysql file
i downloaded mysql-installer-5.5.17.0 for installing MySQL in my system,but when i run this i
I have a mysql database I have downloaded from my online server and trying
I have downloaded MySQL Connector .NET 6.4.2 and installed it on my system for
I have downloaded mysql-connector-c-6.0.2. I build it using below commands: cmake -G Unix Makefiles
What does this mean: Next add reference to: MySql.Data actually I have downloaded mysql
I have downloaded Wikipedia latest dump and parsed it a MySQL Database. Now i
i have downloaded whole database from geonames.org and imported all countries into mysql. i
What references are necessary to have fluent nhibernate work with mysql. I have downloaded
I am connecting an online MySQL database. I have downloaded MySQL ODBC Connector 5.1.

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.