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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T00:39:28+00:00 2026-05-28T00:39:28+00:00

I am trying to access mysql on dreamhost via a mac terminal. From the

  • 0

I am trying to access mysql on dreamhost via a mac terminal. From the terminal I can do:
[ssh -l username domain] to successfully log in to my dreamhost account. Then when I enter [mysql -u username -p password -h hostname database], I get a list of help information about mysql (version 14.14).

However, the prompt doesn’t turn into mysql> or anything, just the normal dreamhost prompt. When I try to enter mysql commands such as [show tables;], I get the error message [-bash: show: command not found]. If I try to type in [mysql>show tables;] I get the message “Can’t connect to local MySQL server through socket…”

Do you know how I can set the prompt to mysql> or do whatever it takes to get the mac terminal to recognize the mysql commands when I am connected to my dreamhost account and the remote mysql serve? Thanks!

More details: I can successfully manipulate my databases on dreamhost using PHPMyAdmin, but am having trouble accessing them via the mac 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-05-28T00:39:29+00:00Added an answer on May 28, 2026 at 12:39 am

    When you get a list of help informations, you probably entered something wrong with regards to the params. I think the problem is your “database” part at the end. Just use mysql -u username -p password -h hostname and when you are in, then type use database.

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

Sidebar

Related Questions

I am trying to access a MySQL table via a DSNless ODBC connection from
I'm trying to access a MySQL database through Silverlight, and I know you can't
I'm trying to connect to a mysql server at dreamhost from a php scrip
I was trying to access the mysql databases from server A to server apple
I am trying to access MySQL stored procedures from a perl script but I
I have a unix server with mysql which I am trying to access from
I am trying to access a remote MySql database from my iPhone application. I
Trying to access a Servlet from a button on HTML page //Html Page FORM
I am trying to access all the data from database listOfFolder table folder and
I'm trying to access the resources of a derived abstract class (from PhoneApplicationPage) in

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.