release branch)macOS 10.14.6
https://gist.github.com/RossIV/13909bf231541caabefa0ffed51685ea
https://gist.github.com/RossIV/5ddf55180f73a5ec67aba8b082ad5164
Creation of databases listed in Homestead.yaml file in MySQL upon initial box provisioning, and output status of creation of each database listed to the console.
Databases were created, but the CLI output indicated otherwise.
Specific section of vagrant up output:
==> homestead: Running provisioner: Creating MySQL / MariaDB Database: homestead (shell)...
homestead: Running: script: Creating MySQL / MariaDB Database: homestead
homestead: We didn't find a PID for mariadb, skipping $DB creation
==> homestead: Running provisioner: Creating MySQL / MariaDB Database: test2314 (shell)...
homestead: Running: script: Creating MySQL / MariaDB Database: test2314
homestead: We didn't find a PID for mariadb, skipping $DB creation
==> homestead: Running provisioner: Creating MySQL / MariaDB Database: testagain (shell)...
homestead: Running: script: Creating MySQL / MariaDB Database: testagain
homestead: We didn't find a PID for mariadb, skipping $DB creation
Also of note, mysql shows as an invalid feature in the same output - not sure if that's related but figured it's worth mentioning.
homestead: Running: inline script
homestead: Invalid feature: mysql
cd ~/Homesteadgit fetchgit pull origin releasebash init.sh (answer y to prompts)vagrant box updateHomestead.yaml to add additional entries to the list of databasesvagrant upvagrant sshmysql -u homestead -pshow databases;From your Homestead.yaml, add the following:
services:
- enabled:
- "mysql"
This same issue happened with me when upgrading from 9.x to 11.x. Unfortunately I didn't log output, but the errors were the same as noted by the OP. When running git fetch and git pull origin release, 11.x is pulled. Everything ran appropriately except for databases, where only the default homestead database was created in the virtualbox. All other databases were skipped due to PID error. Tried several combinations for feature key in yaml file:
features:
- mysql: true
features:
- mysql: true
- mariadb: false
features:
- mysql: false
- mariadb: true
features:
- mariadb: true
I did try adding the "services" key as provided above by @svpernova09, but didn't see a change in the result.
I was able to get passed the issue by specifically checking out 12.1.1 and re-provisioning. I'm unsure what still needs to be done for 12.x to become release, but it appears to be working as expected.
Most helpful comment
This same issue happened with me when upgrading from 9.x to 11.x. Unfortunately I didn't log output, but the errors were the same as noted by the OP. When running
git fetchandgit pull origin release, 11.x is pulled. Everything ran appropriately except for databases, where only the defaulthomesteaddatabase was created in the virtualbox. All other databases were skipped due to PID error. Tried several combinations forfeaturekey in yaml file:I did try adding the "services" key as provided above by @svpernova09, but didn't see a change in the result.
I was able to get passed the issue by specifically checking out 12.1.1 and re-provisioning. I'm unsure what still needs to be done for 12.x to become release, but it appears to be working as expected.