Install homebrew
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew doctor
$ brew update
$ brew info mariadb
$ brew instal mariadb
$ unset TMPDIR
$ cd /usr/local/Cellar/mariadb/10.0.17/
$ mysql_install_db
Start MariaDB
$ mysql.server start
$ mysql_secure_installation
Connect to MariaDB
$ mysql -u root -p
Verify MariaDB Version
> select @@version;
Install phpMyAdmin [2]
Start Web Server of Mac OSX [3,4]
$ sudo apachectl start
$ sudo vi /etc/apache2/httpd.conf
LoadModule php5_module
To fix MySql 2002 socket error [5]
$ sudo mkdir /var/mysql
$ sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock
$ mkdir /Library/WebServer/Documents/phpmyadmin/config
$ chmod 777 config
Connect to http://localhost/phpmyadmin/setup
$ mv config.inc.php ../
reference
[1] https://mariadb.com/blog/installing-mariadb-10010-mac-os-x-homebrew
[2] http://nsnotification.blogspot.kr/2013/05/phpmyadmin.html
[3] http://blog.iolate.kr/160
[4] http://blog.iolate.kr/19
[5] http://coolestguidesontheplanet.com/installing-phpmyadmin-on-mac-osx-10-7-lion/
CES 2024에서 꼭 체크해봐야 할 안드로이드 경험 4가지
-
이 블로그는 구글 The Keyword 블로그(영문)에서도 확인하실 수 있습니다.
[image: 구글 CES 2024 부스 전경이 나오고 있다]
올해 CES에서 안드로이드에 푹 빠져보세요! 구글은 센트럴 플라자-1에 위치한 부스에서 제공하는 꼭 체험해봐야 할 안드로이드...
1 year ago
1 comment:
pleasant instruction regarding installing MariaDB 10. 0. 10 in Mac OPERATING-SYSTEM X along with Homebrew in MariaDB's recognized website. Work has been done to produce MariaDB through the Homebrew deal manager, which has been termed the absent package boss for Mac OS A. Once you might have installed Homebrew.
cheap essay writing service
Post a Comment