MySQL Forums
Forum List  »  Install & Repo

installing mysql on mac - two directories query.
Posted by: O P
Date: December 29, 2016 11:59AM

hello,

I'm new to MySQL and databases. I'm trying to get to grips with the deeper structure and I'm confused about why there are apparently two locations after installing MySQL and I was hoping someone could clarify what each is for?

I have this:

/usr/local/mysql-5.7.17-macos10.12-x86_64/

and this:

/usr/local/mysql/

Why are there two mySQL related directories in the local folder? In terminal access the database by doing this to login: cd ./usr/local/mysql/bin and then typing: mysql -u root -p 'password'.

However if the database is stored in the data folder and everything apparently seems to be happening in the /usr/local/mysql folder, what is this for:/usr/local/mysql-5.7.17-macos10.12-x86_64/

It's been bugging me for a day now and I've not been able to find anything online other than the bottom of this URL: https://dev.mysql.com/doc/refman/5.6/en/osx-installation-pkg.html
, which doesn't really make sense to me

thanks for your help! :)

Options: ReplyQuote


Subject
Written By
Posted
installing mysql on mac - two directories query.
O P
December 29, 2016 11:59AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.