vendredi 21 février 2020

Why am i getting this error when i try to submit a form (Illuminate\Database\QueryException SQLSTATE[28000] [1045] Access denied for user)

enter image description here

why am i getting this error when i try to submit the contact form ? And i get this issue only after hosting the website. Website works fine in the local machine with contact form.

i changed the .env file according to the hosted db credentials.

Illuminate\Database\QueryException
SQLSTATE[28000] [1045] Access denied for user 'cargills'@'localhost' (using password: YES) (SQL: insert into `contacts` (`name`, `address`, `phone`, `email`, `subject`, `division`, `message`, `updated_at`, `created_at`) values (sadsa, dfsdf, asdsad, dsfsd@asdfsa, Customer Enquiry, Exports, sadsad, 2020-02-21 11:27:32, 2020-02-21 11:27:32))


from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3c1peIL
via IFTTT

Aucun commentaire:

Enregistrer un commentaire