I have installed Homestead with
vagrant box add laravel/homestead vagrant init vagrant up
I can login with user vagrant:vagrant, but I can't login as root!
root:root and root:vagrant is wrong password.
I have solution: there is no root password, because user "vagrant" can run sudo -s bash.
Root Password: "vagrant"
Edit: According to the Vagrant documentation, there is usually a default password for the user vagrant which is vagrant . Save this answer.
A homestead database is configured for both MySQL and PostgreSQL out of the box. To connect to your MySQL or PostgreSQL database from your host machine's database client, you should connect to 127.0. 0.1 and port 33060 (MySQL) or 54320 (PostgreSQL). The username and password for both databases is homestead / secret.
Laravel Homestead is an official, pre-packaged Vagrant box that provides you a wonderful development environment without requiring you to install PHP, a web server, and any other server software on your local machine. Vagrant provides a simple, elegant way to manage and provision Virtual Machines.
According to the docs, the vagrant user default password is just vagrant
.
This user should be setup with the insecure keypair that Vagrant uses as a default to attempt to SSH. Also, even though Vagrant uses key-based authentication by default, it is a general convention to set the password for the "vagrant" user to "vagrant". This lets people login as that user manually if they need to.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With