When running php bakery bake the following is the output on a fresh cloned installation.
OS: Windows 10
Web Server: Apache2, PHP 7.2
_ _ ______ _ _
| | | | | ___| | | (_)
| | | |___ ___ _ __| |_ _ __ ___ ___| |_ _ _ __ __ _
| | | / __|/ _ \ '__| _| '__/ _ \/ __| __| | '_ \ / _` |
| |_| \__ \ __/ | | | | | | (_) \__ \ |_| | | | | (_| |
\___/|___/\___|_| \_| |_| \___/|___/\__|_|_| |_|\__, |
__/ |
|___/
UserFrosting's Database Setup Wizard
====================================
! [NOTE] Database already setup. Use the `php bakery setup:db --force` command to run db setup again.
UserFrosting's SMTP Setup Wizard
================================
! [NOTE] SMTP credentials will be saved in `D:/xampp/htdocs/UserFrosting/app/.env`
In order to send registration emails, UserFrosting requires an outgoing mail server. When using UserFrosting in a production environment, a SMTP server should be used. A Gmail account can be used if you're only playing with UserFrosting or on a local dev environment. You can also choose to not setup an outgoing mail server at the moment, but account registration won't work. You can always re-run this setup or edit `D:/xampp/htdocs/UserFrosting/app/.env` if you have problems sending email later.
Select setup method [SMTP Server]:
[0] SMTP Server
[1] Gmail
[2] No email support
> 2
[WARNING] By not setting up any outgoing mail server, public account registration won't work.
Continue ? (yes/no) [no]:
> yes
Saving data
-----------
[OK] SMTP credentials saved to `D:/xampp/htdocs/UserFrosting/app/.env`
UserFrosting
============
--------------------- ------------------------------
UserFrosing version 4.4.3
OS Name Windows NT
Project Root D:\xampp\htdocs\UserFrosting
Environment mode
PHP Version 7.3.7
Node Version v10.16.1
NPM Version 6.13.4
--------------------- ------------------------------
Loaded Sprinkles
================
---------- ------------------------------- ----------------------------------------------------
Sprinkle Calculated Namespace Calculated Path
---------- ------------------------------- ----------------------------------------------------
core UserFrosting\Sprinkle\Core D:/xampp/htdocs/UserFrosting/app/sprinkles/core
account UserFrosting\Sprinkle\Account D:/xampp/htdocs/UserFrosting/app/sprinkles/account
admin UserFrosting\Sprinkle\Admin D:/xampp/htdocs/UserFrosting/app/sprinkles/admin
---------- ------------------------------- ----------------------------------------------------
Database config
===============
---------- -----------
DRIVER mysql
HOST localhost
PORT
DATABASE
USERNAME
PASSWORD
---------- -----------
Testing database connection...
==============================
Database connection successful
[OK] Ready to bake !
UserFrosting's Migrator
=======================
In Connection.php line 664:
SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected (SQL: create table `migrations` (`id` int unsigned
not null auto_increment primary key, `sprinkle` varchar(255) not null, `migration` varchar(255) not null, `batch`
int not null) default character set utf8 collate 'utf8_unicode_ci')
In PDOConnection.php line 72:
SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected
In PDOConnection.php line 67:
SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected
bake
When running
php bakery bake
the following is the output on a fresh cloned installation.OS: Windows 10 Web Server: Apache2, PHP 7.2