Tuesday, March 2, 2021
Latest:
  • Name of insects in English
  • Musical instrument Names.
  • Names of different trees.
  • Things we should do before buying a Apple MacBook
  • What is useEffect hook in React? How to use useEffect hook?
Upokary

Upokary

Quality information

  • Health
  • Life
  • Fashion
  • Food
  • Code
  • English
  • বাংলা
Technology 

Can’t access mysql from command line Mac OS

Published: August 27, 2019 command line, mysql

The issue:

On Mac OS when we installed MySQL successfully and tried to access it from command line we got into this issue.

can't access mysql from command line

The reason:

The MySQL was installed successfully but it was not included in the $PATH variable. When we tried to print that $PATH variable MySQL was not printed.

echo $PATH

The solution:

We had to add MySQL bin path to the $PATH variable like below in the .bash_profile file.

PATH=$PATH:/usr/local/mysql/bin
Share
  • ← Error establishing a database connection WordPress on Mac
  • How to use WordPress REST API from python? →

You May Also Like

How to write a linux service for running spring boot application?

October 30, 2019 beroza 0

Why next-gen image formats (JPEG2000, WebP) are better compare to JPEG, PNG formats?

January 8, 2021 beroza 0

Execution failed for task ‘:app:installDebug’ react native run android

December 5, 2018 beroza 0

jQuery html() method ignores script tags from HTML and not executed.

July 7, 2020 beroza 0

What are the benefits of Docker containers?

July 18, 2019 beroza 0

How to empty a file in linux?

May 17, 2019 beroza 0

How to get URL query parameter value from query string in ReactJS?

February 24, 2020 beroza 0

Free disk space related useful command in Linux

March 7, 2019 beroza 0

How to prevent ctrl + s, f12 default action on a web page?

July 23, 2020 beroza 0
Health benefits delicious fruit Cherry
Health benefits of Spring Onion
How to get rid of bad breath?
Lettuce leaves health benefits
Best foods that are high in Zinc
Which foods are high in magnesium? How much magnesium is better to take daily?
Health benefits of Capsicum
Health Benefits of Radish
Spinach Health Benefits
Health benefits of Cabbage
Excessive sugar intake is harmful to the kidneys and liver
Seim bean or lablab bean health benefits
Health benefits of Kohlrabi
Health benefits of Olives
Health benefits of Cauliflower
Health benefits of green peas
Health benefits of Coriander
Health benefits of Broccoli
Health benefits of Basil Seeds (Tokma, Sabja Seeds, Tukmaria)
Health benefits of Carrots
Health benefits of Rambai fruits
How healthy is our weight according to our height?
Health benefits of Black Tea
Health benefits of Baking soda
Basil leaves or Tulsi leaves health benefits

Why Upokary?

Upokary.com is a useful application in everyday life. It provides very handy information regarding every aspect of life. Each and every tip of upokary.com is meant to make life better.

Upokary tools

  • Youtube thumbnail
  • Youtube video downloader

Useful Links

  • Handy code
  • Technology
  • People
  • Programming
  • Quote
  • Travel
  • WordPress
  • IELTS
  • Kids

Languages

  • EnglishEnglish
  • বাংলাবাংলা

Pages

  • Sitemap
  • Privacy policy
  • About us
  • Contact us

Support

For any kind of query or question please drop a message in the following email: upokary@gmail.com
Copyright © 2021 Upokary. All rights reserved.