You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem: Fresh installation of laravel using any database driver rather than sqlite starts with an error of can't connect with database.
Description:
Current installer database selection steps are -
Prompt to select database driver
Confirmation to run migration of default migrations
So, Here the problem arises, database selection is okay but asking for migration with default configuration is a bit silly I guess. It's better to ask the user if they want to configure the conncetion settings. And then migrate or not.
And my suggestive steps would be:
Prompt to select database driver
Confirmation to set custom connection setting
Yes: Prompt to enter the custom settings for (HOST, PORT, DATABASE, USERNAME, PASSWORD) and set default value for migration prompt to true
No: Set default value for migration prompt to false
Migration prompt
Comparison:
Default installer -
Patched Installer -
Finally, default installer serves my first laravel project with Error on homepage. And patched installer serves project with fresh start
A PR can be made if approves.
@taylorotwellIt would be best if you look for it and give a proper suggestion on this, Thank You
The text was updated successfully, but these errors were encountered:
Problem: Fresh installation of laravel using any database driver rather than sqlite starts with an error of can't connect with database.
Description:
Current installer database selection steps are -
So, Here the problem arises, database selection is okay but asking for migration with default configuration is a bit silly I guess. It's better to ask the user if they want to configure the conncetion settings. And then migrate or not.
And my suggestive steps would be:
true
false
Comparison:
Default installer -
![installer-default](https://private-user-images.githubusercontent.com/81873266/313376366-e582c59c-63f8-48ff-803e-60b06fe295e0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjExOTA3MTksIm5iZiI6MTcyMTE5MDQxOSwicGF0aCI6Ii84MTg3MzI2Ni8zMTMzNzYzNjYtZTU4MmM1OWMtNjNmOC00OGZmLTgwM2UtNjBiMDZmZTI5NWUwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE3VDA0MjY1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMzN2Y2YTZiZmI1NWNiOTkzNmIxNGU3ZDAzZGM5YzlkMGYzYTk3NGI3ZjQyNDc4YTMyNTk3MjAxZWNkZjNlMGQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.YW5Q4BWgkgGb242rE40-iVVa46cFOUENV_4XysCMMw4)
Patched Installer -
![installer-yourchocomate](https://private-user-images.githubusercontent.com/81873266/313376377-96fd742b-c717-43b9-8815-4620a5896d1b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjExOTA3MTksIm5iZiI6MTcyMTE5MDQxOSwicGF0aCI6Ii84MTg3MzI2Ni8zMTMzNzYzNzctOTZmZDc0MmItYzcxNy00M2I5LTg4MTUtNDYyMGE1ODk2ZDFiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE3VDA0MjY1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM5ZjQ3NzkyNmY3YTg3NDJmZWVhMTFiYTg4Yjk5M2U1MmJmZWY3NWRhZmQzYjc3MmNiY2ExYTY1ODdlZjk2MTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.AYg3_WzN7KSSSjOko4aN80f9XVVROKzT7Za3uYxHgFI)
Finally, default installer serves my first laravel project with Error on homepage. And patched installer serves project with fresh start
A PR can be made if approves.
@taylorotwell It would be best if you look for it and give a proper suggestion on this, Thank You
The text was updated successfully, but these errors were encountered: