To connect to the DB, I use SSH and linux command prompt to access the DB with username/password. The php artisan migrate:install created a table in the database called migrations.
Hosting company has installed pdo_mysql and enabled it.
Now i have a different error:
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes (SQL: alter table password_resets
add index password_resets_email_index
(email
))
It sounds like you're on shared hosting. It's usually not advised to run Laravel on shared hosting.
You are right, I was doing a test, I will go for a dedicated server. Thanks, this topic can be closed.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community