tastyigniter / TastyIgniter

:fire: Powerful, yet easy to use, open-source online ordering, table reservation and management system for restaurants
https://tastyigniter.com
MIT License
2.98k stars 966 forks source link

[Bug]: Installer does not work properly #1058

Closed RecoX closed 6 months ago

RecoX commented 8 months ago

What happened?

Following this guide: https://tastyigniter.com/docs/installation

After run the following command php artisan igniter:install, when the MySql database is being configured, is not taking properly the username and password for it, it always uses user: forge password: ""

to fix this I needed to create manually a forge user without password in mysql

What did you expect to happen?

The installer should take the parameters that I write in the input.

Version

3.x

What browser are you seeing the problem on?

No response

Relevant log output

 mytasty  php artisan igniter:install
************************
*     INSTALLATION     *
************************

Enter a new value, or press ENTER for the default

 MySQL Host [127.0.0.1]:
 > 127.0.0.1

 MySQL Port [3306]:
 > 3306

 MySQL Database [forge]:
 > forge

 MySQL Username [forge]:
 > root

 MySQL Password []:
 >

 MySQL Table Prefix [ti_]:
 >

 Site Name [TastyIgniter]:
 >

 Site URL [http://localhost/]:
 >

 Install demo data? (yes/no) [yes]:

 Admin Email [admin@domain.tld]:
 >

 Admin Name [Chef Admin]:
 >

 Rewrite environment file? (yes/no) [no]:
 >

Migrating application and extensions...

In Connection.php line 712:

  SQLSTATE[HY000] [1045] Access denied for user 'forge'@'localhost' (using password: NO) (SQL: select column_name as
  `column_name` from information_schema.columns where table_schema = forge and table_name = ti_migrations)

In Exception.php line 18:

  SQLSTATE[HY000] [1045] Access denied for user 'forge'@'localhost' (using password: NO)

In PDOConnection.php line 40:

  SQLSTATE[HY000] [1045] Access denied for user 'forge'@'localhost' (using password: NO)
sampoyigi commented 6 months ago

This issue will be closed and archived in 3 days, as there has been no activity in the last 60 days. If this issue is still relevant or you would like to see it actioned, please respond and we will re-open this issue. If this issue is critical to your business, consider the Dedicated Support Service where a Service Level Agreement is offered.