How do I Sequel Pro with PuPHPet?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-30 11:40:11

问题


I have just set up a virtual machine using Vagrant and Puphpet. I know I have MySQL because I can mysql in the command line. I just did a basic install.

I don't know how to set up my sequel pro to get access though. I am using the "Standard" option on the Sequel Pro application (the others are "Socket" and "SSH"). Is that the right one to use? The values I enter are;

Name: awesome Host: 192.168.56.101 Username: mlovely Password: mlovely Port: 9000

Here is my part of my config.yaml file that relates to mysql

mysql:
  install: '1'
  override_options: {  }
  root_password: root
  adminer: 0
  databases:
    0x04jJcIakVr:
        grant:
            - ALL
        name: dbname
        host: localhost
        user: mlovely
        password: mlovely
        sql_file: ''

Not sure where to look or what else to try now.. The error I get on sequel pro is an "Unable to connect or the request timed out" type.


回答1:


I put the information on puphpet.com - maybe you missed it




回答2:


You can connect using the SSH tab (username/password are 'vagrant') in Sequel Pro. The database input fields have to match the settings in the config.yaml.

If you cannot connect using vagrant/vagrant ssh into the vm type passwd and enter vagrant twice. You've now set the password for the vagrant user to vagrant. This does not affect the ssh functionality in vagrant, because vagrant uses ssh-keys.



来源:https://stackoverflow.com/questions/28836246/how-do-i-sequel-pro-with-puphpet

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!