Created
November 5, 2015 06:27
-
-
Save sl-digital/f93b974b474a19f8177f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Setup for connecting SequelPro to the Vagrant box | |
#port forwarding | |
forward port 3306 to 33060 | |
#my.conf | |
Change binding from 127.0.0.1 to 0.0.0.0 | |
#mysql users config | |
select user,host from mysql.user where user='root'; | |
create user 'root'@'10.0.2.2' identified by 'yourpassword'; | |
grant all privileges on *.* to 'root'@'10.0.2.2' with grant option; | |
flush privileges; | |
#restart service | |
sudo service mysql restart | |
#upgrade PHP to 5.6 | |
sudo apt-get install software-properties-common | |
sudo add-apt-repository ppa:ondrej/php5-5.6 | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install php5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment