Skip to content

Instantly share code, notes, and snippets.

@ndberg
Created April 30, 2019 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ndberg/a2723827b7a5ebf94b13c968ff354a68 to your computer and use it in GitHub Desktop.
Save ndberg/a2723827b7a5ebf94b13c968ff354a68 to your computer and use it in GitHub Desktop.
laravel homestead mysql install error
Bringing machine 'fotogecko' up with 'virtualbox' provider...
==> fotogecko: Importing base box 'laravel/homestead'...
Progress: 10%
Progress: 20%
Progress: 90%
==> fotogecko: Matching MAC address for NAT networking...
==> fotogecko: Checking if box 'laravel/homestead' version '7.2.1' is up to date...
==> fotogecko: Setting the name of the VM: fotogecko
==> fotogecko: Clearing any previously set network interfaces...
==> fotogecko: Preparing network interfaces based on configuration...
fotogecko: Adapter 1: nat
fotogecko: Adapter 2: hostonly
==> fotogecko: Forwarding ports...
fotogecko: 80 (guest) => 8000 (host) (adapter 1)
fotogecko: 443 (guest) => 44300 (host) (adapter 1)
fotogecko: 3306 (guest) => 33060 (host) (adapter 1)
fotogecko: 4040 (guest) => 4040 (host) (adapter 1)
fotogecko: 5432 (guest) => 54320 (host) (adapter 1)
fotogecko: 8025 (guest) => 8025 (host) (adapter 1)
fotogecko: 27017 (guest) => 27017 (host) (adapter 1)
fotogecko: 22 (guest) => 2222 (host) (adapter 1)
==> fotogecko: Running 'pre-boot' VM customizations...
==> fotogecko: Booting VM...
==> fotogecko: Waiting for machine to boot. This may take a few minutes...
fotogecko: SSH address: 127.0.0.1:2222
fotogecko: SSH username: vagrant
fotogecko: SSH auth method: private key
fotogecko:
fotogecko: Vagrant insecure key detected. Vagrant will automatically replace
fotogecko: this with a newly generated keypair for better security.
fotogecko:
fotogecko: Inserting generated public key within guest...
fotogecko: Removing insecure key from the guest if it's present...
fotogecko: Key inserted! Disconnecting and reconnecting using new SSH key...
==> fotogecko: Machine booted and ready!
==> fotogecko: Checking for guest additions in VM...
fotogecko: The guest additions on this VM do not match the installed version of
fotogecko: VirtualBox! In most cases this is fine, but in rare cases it can
fotogecko: prevent things such as shared folders from working properly. If you see
fotogecko: shared folder errors, please make sure the guest additions within the
fotogecko: virtual machine match the version of VirtualBox you have installed on
fotogecko: your host and reload your VM.
fotogecko:
fotogecko: Guest Additions Version: 5.2.8_KernelUbuntu r120774
fotogecko: VirtualBox Version: 6.0
==> fotogecko: [vagrant-hostsupdater] Checking for host entries
==> fotogecko: [vagrant-hostsupdater] Writing the following entries to (/etc/hosts)
==> fotogecko: [vagrant-hostsupdater] 192.168.10.14 fotogecko # VAGRANT: 59bdc2948ae2c951e6a876648a9110ab (fotogecko) / 7a50a234-2789-4b27-ab56-f31924e38441
==> fotogecko: [vagrant-hostsupdater] 192.168.10.14 fotogecko.test # VAGRANT: 59bdc2948ae2c951e6a876648a9110ab (fotogecko) / 7a50a234-2789-4b27-ab56-f31924e38441
==> fotogecko: [vagrant-hostsupdater] This operation requires administrative access. You may skip it by manually adding equivalent entries to the hosts file.
==> fotogecko: Setting hostname...
==> fotogecko: Configuring and enabling network interfaces...
==> fotogecko: Exporting NFS shared folders...
==> fotogecko: Preparing to edit /etc/exports. Administrator privileges will be required...
The nfsd service does not appear to be running.
Starting the nfsd service
==> fotogecko: Mounting NFS shared folders...
==> fotogecko: Mounting shared folders...
fotogecko: /vagrant => /Users/Andi/Code/fotogecko
==> fotogecko: Running provisioner: file...
fotogecko: aliases => /tmp/bash_aliases
==> fotogecko: Running provisioner: shell...
fotogecko: Running: inline script
==> fotogecko: Running provisioner: shell...
fotogecko: Running: inline script
fotogecko:
fotogecko: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC3THKxqP1pDbY3rYHS5Wrz9IOybQLSV56tqHPTHwuKGMumqbqD3h0Q7hNnQAsubCLT9Mu9vkyE481eAY2T6ZXhfYycXQNGlVjT8QGLl6FKf47Epv80M+xdCLGmdD8+y2l5rKz6EhJUdJe6RnyFUfI8KJErqxaLfhaJkGJw18V5ChpEQaIIJJCx4ywG54aVhNFdrOesZRpc99XTjs6Vt+tVWhOwDSGu3XjLD9TQ2NySUCdoSAmg2KrRykbsLaD1GtQqElNqxhZCzSzgF8lsipACHA/iDnhBmjzI7yRwWWGusP4oz6jRvgPHiPWLeH+PBbG4uk3TYL6K4kQdNito4R5Z Andi@Andi-iMac.local
==> fotogecko: Running provisioner: shell...
fotogecko: Running: inline script
==> fotogecko: Running provisioner: shell...
fotogecko: Running: /var/folders/bh/wyych2qx5d94jggbrj8y_6b00000gn/T/vagrant-shell20190430-1691-10s16tn.sh
==> fotogecko: Running provisioner: shell...
fotogecko: Running: script: Creating Certificate: fotogecko.test
==> fotogecko: Running provisioner: shell...
fotogecko: Running: script: Creating Site: fotogecko.test
==> fotogecko: Running provisioner: shell...
fotogecko: Running: inline script
==> fotogecko: Running provisioner: shell...
fotogecko: Running: inline script
==> fotogecko: Running provisioner: shell...
fotogecko: Running: script: Creating Schedule
==> fotogecko: Running provisioner: shell...
fotogecko: Running: script: Clear Variables
==> fotogecko: Running provisioner: shell...
fotogecko: Running: script: Restarting Cron
==> fotogecko: Running provisioner: shell...
fotogecko: Running: script: Restarting Nginx
==> fotogecko: Running provisioner: shell...
fotogecko: Running: /var/folders/bh/wyych2qx5d94jggbrj8y_6b00000gn/T/vagrant-shell20190430-1691-1q93o0s.sh
fotogecko: * Unloading AppArmor profiles
fotogecko: ...done.
fotogecko: Reading package lists...
fotogecko: Building dependency tree...
fotogecko: Reading state information...
fotogecko: Package 'mysql-client' is not installed, so not removed
fotogecko: The following packages were automatically installed and are no longer required:
fotogecko: libcgi-fast-perl libcgi-pm-perl libencode-locale-perl libevent-core-2.1-6
fotogecko: libfcgi-perl libhtml-parser-perl libhtml-tagset-perl libhtml-template-perl
fotogecko: libhttp-date-perl libhttp-message-perl libio-html-perl
fotogecko: liblwp-mediatypes-perl liburi-perl mysql-client-core-5.7
fotogecko: mysql-server-core-5.7
fotogecko: Use 'sudo apt autoremove' to remove them.
fotogecko: The following packages will be REMOVED:
fotogecko: mysql-client-5.7* mysql-common* mysql-server* mysql-server-5.7*
fotogecko: 0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
fotogecko: After this operation, 82.0 MB disk space will be freed.
fotogecko: (Reading database ...
fotogecko: (Reading database ... 5%
fotogecko: (Reading database ... 10%
fotogecko: (Reading database ... 15%
fotogecko: (Reading database ... 20%
fotogecko: (Reading database ... 25%
fotogecko: (Reading database ... 30%
fotogecko: (Reading database ... 35%
fotogecko: (Reading database ... 40%
fotogecko: (Reading database ... 45%
fotogecko: (Reading database ... 50%
fotogecko: (Reading database ... 55%
fotogecko: (Reading database ... 60%
fotogecko: (Reading database ... 65%
fotogecko: (Reading database ... 70%
fotogecko: (Reading database ... 75%
fotogecko: (Reading database ... 80%
fotogecko: (Reading database ... 85%
fotogecko: (Reading database ... 90%
fotogecko: (Reading database ... 95%
fotogecko: (Reading database ... 100%
fotogecko: (Reading database ...
fotogecko: 162448 files and directories currently installed.)
fotogecko: Removing mysql-server (5.7.25-0ubuntu0.18.04.2) ...
fotogecko: Removing mysql-server-5.7 (5.7.25-0ubuntu0.18.04.2) ...
fotogecko: update-alternatives:
fotogecko: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
fotogecko: Removing mysql-client-5.7 (5.7.25-0ubuntu0.18.04.2) ...
fotogecko: Removing mysql-common (5.8+1.0.4) ...
fotogecko: Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
fotogecko: (Reading database ...
fotogecko: (Reading database ... 5%
fotogecko: (Reading database ... 10%
fotogecko: (Reading database ... 15%
fotogecko: (Reading database ... 20%
fotogecko: (Reading database ... 25%
fotogecko: (Reading database ... 30%
fotogecko: (Reading database ... 35%
fotogecko: (Reading database ... 40%
fotogecko: (Reading database ... 45%
fotogecko: (Reading database ... 50%
fotogecko: (Reading database ... 55%
fotogecko: (Reading database ... 60%
fotogecko: (Reading database ... 65%
fotogecko: (Reading database ... 70%
fotogecko: (Reading database ... 75%
fotogecko: (Reading database ... 80%
fotogecko: (Reading database ... 85%
fotogecko: (Reading database ... 90%
fotogecko: (Reading database ... 95%
fotogecko: (Reading database ... 100%
fotogecko: (Reading database ...
fotogecko: 162328 files and directories currently installed.)
fotogecko: Purging configuration files for mysql-common (5.8+1.0.4) ...
fotogecko: Purging configuration files for mysql-server-5.7 (5.7.25-0ubuntu0.18.04.2) ...
fotogecko: dpkg: warning: while removing mysql-server-5.7, directory '/etc/mysql' not empty so not removed
fotogecko: Processing triggers for ureadahead (0.100.0-20) ...
fotogecko: Processing triggers for systemd (237-3ubuntu10.20) ...
fotogecko: Reading package lists...
fotogecko: Building dependency tree...
fotogecko: Reading state information...
fotogecko: The following packages will be REMOVED:
fotogecko: libcgi-fast-perl libcgi-pm-perl libencode-locale-perl libevent-core-2.1-6
fotogecko: libfcgi-perl libhtml-parser-perl libhtml-tagset-perl libhtml-template-perl
fotogecko: libhttp-date-perl libhttp-message-perl libio-html-perl
fotogecko: liblwp-mediatypes-perl liburi-perl mysql-client-core-5.7
fotogecko: mysql-server-core-5.7
fotogecko: 0 upgraded, 0 newly installed, 15 to remove and 0 not upgraded.
fotogecko: After this operation, 79.7 MB disk space will be freed.
fotogecko: (Reading database ...
fotogecko: (Reading database ... 5%
fotogecko: (Reading database ... 10%
fotogecko: (Reading database ... 15%
fotogecko: (Reading database ... 20%
fotogecko: (Reading database ... 25%
fotogecko: (Reading database ... 30%
fotogecko: (Reading database ... 35%
fotogecko: (Reading database ... 40%
fotogecko: (Reading database ... 45%
fotogecko: (Reading database ... 50%
fotogecko: (Reading database ... 55%
fotogecko: (Reading database ... 60%
fotogecko: (Reading database ... 65%
fotogecko: (Reading database ... 70%
fotogecko: (Reading database ... 75%
fotogecko: (Reading database ... 80%
fotogecko: (Reading database ... 85%
fotogecko: (Reading database ... 90%
fotogecko: (Reading database ... 95%
fotogecko: (Reading database ... 100%
fotogecko: (Reading database ...
fotogecko: 162309 files and directories currently installed.)
fotogecko: Removing libcgi-fast-perl (1:2.13-1) ...
fotogecko: Removing libhtml-template-perl (2.97-1) ...
fotogecko: Removing libcgi-pm-perl (4.38-1) ...
fotogecko: Removing libhttp-message-perl (6.14-1) ...
fotogecko: Removing libencode-locale-perl (1.05-1) ...
fotogecko: Removing libevent-core-2.1-6:amd64 (2.1.8-stable-4build1) ...
fotogecko: Removing libfcgi-perl (0.78-2build1) ...
fotogecko: Removing libhtml-parser-perl (3.72-3build1) ...
fotogecko: Removing libhtml-tagset-perl (3.20-3) ...
fotogecko: Removing libhttp-date-perl (6.02-1) ...
fotogecko: Removing libio-html-perl (1.001-1) ...
fotogecko: Removing liblwp-mediatypes-perl (6.02-1) ...
fotogecko: Removing liburi-perl (1.73-1) ...
fotogecko: Removing mysql-client-core-5.7 (5.7.25-0ubuntu0.18.04.2) ...
fotogecko: Removing mysql-server-core-5.7 (5.7.25-0ubuntu0.18.04.2) ...
fotogecko: Processing triggers for libc-bin (2.27-3ubuntu1) ...
fotogecko: Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
fotogecko: Reading package lists...
fotogecko: Building dependency tree...
fotogecko: Reading state information...
fotogecko: --2019-04-30 13:55:36-- https://dev.mysql.com/get/mysql-apt-config_0.8.12-1_all.deb
fotogecko: Resolving dev.mysql.com (dev.mysql.com)...
fotogecko: 137.254.60.11
fotogecko: Connecting to dev.mysql.com (dev.mysql.com)|137.254.60.11|:443...
fotogecko: connected.
fotogecko: HTTP request sent, awaiting response...
fotogecko: 302 Found
fotogecko: Location: https://repo.mysql.com//mysql-apt-config_0.8.12-1_all.deb [following]
fotogecko: --2019-04-30 13:55:37-- https://repo.mysql.com//mysql-apt-config_0.8.12-1_all.deb
fotogecko: Resolving repo.mysql.com (repo.mysql.com)...
fotogecko: 23.58.217.221
fotogecko: Connecting to repo.mysql.com (repo.mysql.com)|23.58.217.221|:443...
fotogecko: connected.
fotogecko: HTTP request sent, awaiting response...
fotogecko: 200 OK
fotogecko: Length:
fotogecko: 36306
fotogecko: (35K)
fotogecko: [application/x-debian-package]
fotogecko: Saving to: ‘mysql-apt-config_0.8.12-1_all.deb’
fotogecko:
fotogecko: 0K
fotogecko:
fotogecko: .
fotogecko: .
fotogecko: .
fotogecko: .
fotogecko: .
fotogecko: .
fotogecko: .
fotogecko: .
fotogecko: .
fotogecko: .
fotogecko:
fotogecko: .
fotogecko: .
fotogecko: .
fotogecko: .
fotogecko: .
fotogecko: .
fotogecko: .
fotogecko: .
fotogecko: .
fotogecko: .
fotogecko:
fotogecko: .
fotogecko: .
fotogecko: .
fotogecko: .
fotogecko: ...... ..... 100% 908K=0.04s
fotogecko:
fotogecko: 2019-04-30 13:55:37 (908 KB/s) - ‘mysql-apt-config_0.8.12-1_all.deb’ saved [36306/36306]
fotogecko: Selecting previously unselected package mysql-apt-config.
fotogecko: (Reading database ... 161978 files and directories currently installed.)
fotogecko: Preparing to unpack mysql-apt-config_0.8.12-1_all.deb ...
fotogecko: Unpacking mysql-apt-config (0.8.12-1) ...
fotogecko: Setting up mysql-apt-config (0.8.12-1) ...
fotogecko: Warning: apt-key should not be used in scripts (called from postinst maintainerscript of the package mysql-apt-config)
fotogecko: OK
fotogecko: Warning: apt-key output should not be parsed (stdout is not a terminal)
fotogecko: Executing: /tmp/apt-key-gpghome.weeJxeYUdU/gpg.1.sh --keyserver keys.gnupg.net --recv-keys 8C718D3B5072E1F5
fotogecko: gpg: key 8C718D3B5072E1F5: 3 duplicate signatures removed
fotogecko: gpg: key 8C718D3B5072E1F5: 99 signatures not checked due to missing keys
fotogecko: gpg: key 8C718D3B5072E1F5: "MySQL Release Engineering <mysql-build@oss.oracle.com>" 26
fotogecko: new signatures
fotogecko: gpg: Total number processed: 1
fotogecko: gpg: new signatures: 26
fotogecko: Hit:1 http://ppa.launchpad.net/nginx/development/ubuntu bionic InRelease
fotogecko: Get:2 http://repo.mysql.com/apt/ubuntu bionic InRelease [19.4 kB]
fotogecko: Get:3 https://cli-assets.heroku.com/apt ./ InRelease [2,533 B]
fotogecko: Hit:4 https://deb.nodesource.com/node_10.x bionic InRelease
fotogecko: Hit:5 http://archive.ubuntu.com/ubuntu bionic InRelease
fotogecko: Hit:6 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
fotogecko: Get:7 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
fotogecko: Get:8 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
fotogecko: Get:9 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
fotogecko: Get:11 http://repo.mysql.com/apt/ubuntu bionic/mysql-8.0 Sources [937 B]
fotogecko: Get:10 https://cli-assets.heroku.com/apt ./ Packages [620 B]
fotogecko: Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [503 kB]
fotogecko: Get:13 http://repo.mysql.com/apt/ubuntu bionic/mysql-apt-config amd64 Packages [564 B]
fotogecko: Get:14 http://repo.mysql.com/apt/ubuntu bionic/mysql-apt-config i386 Packages [564 B]
fotogecko: Get:15 http://repo.mysql.com/apt/ubuntu bionic/mysql-8.0 i386 Packages [7,150 B]
fotogecko: Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [597 kB]
fotogecko: Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [219 kB]
fotogecko: Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [920 kB]
fotogecko: Get:19 http://packages.blackfire.io/debian any InRelease [23.2 kB]
fotogecko: Get:20 http://repo.mysql.com/apt/ubuntu bionic/mysql-8.0 amd64 Packages [7,162 B]
fotogecko: Get:21 http://repo.mysql.com/apt/ubuntu bionic/mysql-tools i386 Packages [3,678 B]
fotogecko: Get:22 http://repo.mysql.com/apt/ubuntu bionic/mysql-tools amd64 Packages [4,247 B]
fotogecko: Get:23 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [932 kB]
fotogecko: Get:24 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [331 kB]
fotogecko: Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [270 kB]
fotogecko: Get:26 http://archive.ubuntu.com/ubuntu bionic-backports/universe i386 Packages [3,468 B]
fotogecko: Get:27 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [3,468 B]
fotogecko: Get:28 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [252 kB]
fotogecko: Get:29 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [118 kB]
fotogecko: Get:30 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [242 kB]
fotogecko: Get:31 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [238 kB]
fotogecko: Get:32 http://packages.blackfire.io/debian any/main i386 Packages [1,193 B]
fotogecko: Get:33 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [139 kB]
fotogecko: Get:34 http://packages.blackfire.io/debian any/main amd64 Packages [1,204 B]
fotogecko: Fetched 5,093 kB in 5s (1,053 kB/s)
fotogecko: Reading package lists...
fotogecko: Reading package lists...
fotogecko: Building dependency tree...
fotogecko: Reading state information...
fotogecko: E
fotogecko: :
fotogecko: Version '8.0.15-1ubuntu18.04' for 'mysql-server' was not found
fotogecko: tee:
fotogecko: /etc/mysql/conf.d/mysql.cnf
fotogecko: : No such file or directory
fotogecko: bind-address = 0.0.0.0
fotogecko: tee:
fotogecko: /etc/mysql/conf.d/mysql.cnf
fotogecko: : No such file or directory
fotogecko: [mysqld]
fotogecko: default_authentication_plugin = mysql_native_password
fotogecko: Failed to restart mysql.service: Unit mysql.service not found.
fotogecko: /tmp/vagrant-shell: line 53: mysql: command not found
fotogecko: /tmp/vagrant-shell: line 54: mysql: command not found
fotogecko: /tmp/vagrant-shell: line 55: mysql: command not found
fotogecko: /tmp/vagrant-shell: line 56: mysql: command not found
fotogecko: /tmp/vagrant-shell: line 57: mysql: command not found
fotogecko: /tmp/vagrant-shell: line 58: mysql: command not found
fotogecko: /tmp/vagrant-shell: line 59: mysql: command not found
fotogecko: Failed to restart mysql.service: Unit mysql.service not found.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment