I change the default auth in laravel and replace the email to username.
Then I login using username and s
Illuminate\Database\QueryException SQLSTATE[HY000] [2002] Connection
refused (SQL: select count(*) as aggregate from users where email
= dulaj#gmail.com)
restart the server and check again..
Related
Please who can help me with this solution. My laravel website display
SQLSTATE[HY000] [1045] Access denied for user 'cahresa1_new'#'localhost' (using password: YES) (SQL: select * from sessions where id = v3oQ973C7gtMnvO2V4JQHu8p24TibIj7PRE6nHer limit 1)
And I used the correct details in env file.
Issues shared below
https://flareapp.io/share/x5MLzqe7#F42
I tried connecting my database to view the website but it kept showing errors
My website runs fine on localhost but when deploying it to shared hosting. I get this error:
SQLSTATE[42000]: Syntax error or access violation: 1203
User id11846490_otisljoe already has more than 'max_user_connections'
active connections (SQL: select count(*) as aggregate from invoices
where title = Invoice and invoices.deleted_at is null)
I figured out and, googled why it occurred but I can found the solution.
I am using sqlite as my default database driver.
I already connected the database using .env and also seeded some data using tinker.
N.B: Data is inserted correctly in my database. Database name is
database.sqlite
But when I try to login using email and password created with tinker it shows the following error.
"SQLSTATE[HY000] [1045] Access denied for user 'homestead'#'localhost' (using password: YES) (SQL: select * from `users` where `email` = ryleigh12#example.net limit 1)
here is the image showing that error
If you are using the PHP's default web server (php artisan serve) you need to restart your server after any change in your .env file.
I just start to learning laravel and now I have a problem with mail settings.
I want to send reset password email to the log file of the project and for this I change the .env file settings from MAIL_DRIVER = smtp to MAIL_DRIVER = log
I also change the mail.php settings and reset my server because I use (php artisan serve) command.
still i receive following error
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mytodo.password_resets' doesn't exist (SQL: delete from password_resets where email = Ali#gmail.com
I don't know why it is search for table.
I also see the following question it has same problem but my problem doesn't solve by their instruction.
Laravel Mail to Log
please help me is there anything else i should try.
A table must be created to store the password reset tokens and There is our processes :
Get reset request
Generate token
Store token in DB
Send email
In your way, you only change step 4. You need store tokens and you should have a password_resets table in your database.
There has been an error processing your request
SQLSTATE[28000] [1045] Access denied for user 'celebrit_celebri'#'localhost' (using password: YES)
Coming in magento when i m opening my web ..
How to sove it ..?
Check your database if your USER exist, and if is a password correct.
You can change configuration of magento DB user, DB name, and password in magentofolder/app/etc/local.xml
please check your app>etc>local.xml
in local.xml db name and password written please check with uour db connection details
it may solve your problem