Install MySQL Latest version 56
install mysql
Start error
ben:~ soul$ which mysql/usr/local2002tolocalthrough socket ‘/tmp/mysql.sock‘ (2)
Solutions
Run
tothe MySQL monitor. endwithoridis1version5.6.26 Homebrew
Set MySQL self-boot settings mysql root password
ben:~ soul$ ls /usr/local/bin | grep mysql --colormsql2mysqlmysqlmysql.servermysql_client_testmysql_client_test_embeddedmysql_configmysql_config_editormysql_convert_table_formatmysql_embeddedmysql_find_rowsmysql_fix_extensionsmysql_install_dbmysql_pluginmysql_secure_installationmysql_setpermissionmysql_tzinfo_to_sqlmysql_upgrademysql_waitpidmysql_zapmysqladminmysqlbinlogmysqlbugmysqlcheckmysqldmysqld_multimysqld_safemysqldumpmysqldumpslowmysqlhotcopymysqlimportmysqlshowmysqlslapmysqltestmysqltest_embeddedben:ben:~ soul$ mysql_secure_installation
Key Commands mysql_secure_installation
(Welcome to Exchange [email protected])
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Mac Brew installation MySQL Error Error 2002 (HY000): Can ' t connect to local MySQL server through socket