php - SQLSTATE[HY000]: General error: 1 no such table: user -


its first project symfony , tried make login page. found tutorial (https://www.youtube.com/watch?v=3xhywwzniwu) work in video try use "php bin/console doctrine:fixtures:load" error :

[doctrine\dbal\exception\tablenotfoundexception] exception occurred while executing 'delete user': sqlstate[hy000]: general error: 1 no such table: user

comes. dont know did wrong because did in video

thx

1) have run command update schema:

a. php bin/console doctrine:schema:update --dump-sql // show status database if have changes shows

b. php bin/console doctrine:schema:update --force

2) if use symfony2 run command php app/console ...

3) access denied 'root'@'localhost' ... error have not access database(mysql, postgresql, mongodb...). password or username not valid.

your track trace error saying user table not exists.

and suggest read read error message (track trace) that.

doctrine\dbal\exception\tablenotfoundexception

'delete user': sqlstate[hy000]: general error: 1 no such table: user


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -