hypernxf 2021-03-08 19:36:30
you will be able to see all your configurations from there
Billsamy 2021-03-08 19:38:36

hypernxf 2021-03-08 19:39:36
no
hypernxf 2021-03-08 19:40:09
“php artisan tinker”
“config(‘database.connections.mysql’);”
hypernxf 2021-03-08 19:40:20
Type it in separate line without the “”
Billsamy 2021-03-08 19:40:25
DesolatorMagno 2021-03-08 19:31:06
Try everything, that’s 99.99% not Laravel fault but yours.
Ofcoz it’s my problem 😁
Billsamy 2021-03-08 19:45:12

hypernxf 2021-03-08 19:45:25
remove the “”
Billsamy 2021-03-08 19:46:55
hypernxf 2021-03-08 19:45:25
remove the “”
hypernxf 2021-03-08 19:47:21
yeah
hypernxf 2021-03-08 19:47:36
is lessons the database you would like to connect to?
Billsamy 2021-03-08 19:47:56
Yes
hypernxf 2021-03-08 19:48:17
AppUser::all()
hypernxf 2021-03-08 19:48:30
Is anything inside?
Billsamy 2021-03-08 19:49:59
There is other project with differtn db name in which if i register a user that already exist there … there will be an error “email taken”
Billsamy 2021-03-08 19:50:37
hypernxf 2021-03-08 19:48:30
Is anything inside?
User model has nothing i did not write anything
hypernxf 2021-03-08 19:51:01
alright
hypernxf 2021-03-08 19:51:25
now we do the same thing for the web routes
Billsamy 2021-03-08 19:53:49
On Usercontroller, i only wrote return a string “index page” on index because i wanted to see a drop downlist named user management below a logout button .
Billsamy 2021-03-08 19:54:39

Billsamy 2021-03-08 19:55:41
hypernxf 2021-03-08 19:51:25
now we do the same thing for the web routes
mazcvei 2021-03-08 19:56:59
Impr pant
hypernxf 2021-03-08 19:57:22
Inside your HomeController@index
do a dd(config(‘database.connections.mysql’));
Billsamy 2021-03-08 20:00:15

hypernxf 2021-03-08 20:00:46
alright now visit your website
Billsamy 2021-03-08 20:00:53
mazcvei 2021-03-08 19:56:59
Impr pant
Come again please…i didn’t catch you
hypernxf 2021-03-08 20:00:59
and go to /home
hypernxf 2021-03-08 20:01:09
let’s see which database is the web connected to
Billsamy 2021-03-08 20:03:23

Billsamy 2021-03-08 20:04:15
hypernxf 2021-03-08 20:01:09
let’s see which database is the web connected to
The bad thing no codes you write will make change on a Webpage
Billsamy 2021-03-08 20:04:43
Even an error mssg….. can not appers
hypernxf 2021-03-08 20:04:50
you are at the wrong site
hypernxf 2021-03-08 20:05:01
add a /home behind
hypernxf 2021-03-08 20:05:14
lessons.test/home
Billsamy 2021-03-08 20:05:46
