Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fecmall-lasted版执行数据库初始化错误:yii migrate --interactive=0 --migrationPath=@fecshop/migrations/mysqldb Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'fecmall.extensions' doesn't exist in D:\wamp64\www\fecmall\vendor\yiisoft\yii2\db\Command.php:1302 #106

Open
G-Meteor opened this issue Jan 9, 2025 · 0 comments

Comments

@G-Meteor
Copy link

G-Meteor commented Jan 9, 2025

D:\wamp64\www\fecmall>yii migrate --interactive=0 --migrationPath=@fecshop/migrations/mysqldb

Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'fecmall.extensions' doesn't exist in D:\wamp64\www\fecmall\vendor\yiisoft\yii2\db\Command.php:1302
Stack trace:
#0 D:\wamp64\www\fecmall\vendor\yiisoft\yii2\db\Command.php(1302): PDOStatement->execute()
#1 D:\wamp64\www\fecmall\vendor\yiisoft\yii2\db\Command.php(1168): yii\db\Command->internalExecute('SELECT * FROM ...')
#2 D:\wamp64\www\fecmall\vendor\yiisoft\yii2\db\Command.php(410): yii\db\Command->queryInternal('fetchAll', NULL)
#3 D:\wamp64\www\fecmall\common\config\bootstrap.php(28): yii\db\Command->queryAll()
#4 D:\wamp64\www\fecmall\yii(19): require('D:\wamp64\www\f...')
#5 {main}

Next yii\db\Exception: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'fecmall.extensions' doesn't exist
The SQL being executed was: SELECT * FROM extensions where status=1 AND installed_status=1 ORDER BY priority ASC in D:\wamp64\www\fecmall\vendor\yiisoft\yii2\db\Schema.php on line 678

yii\db\Exception: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'fecmall.extensions' doesn't exist
The SQL being executed was: SELECT * FROM extensions where status=1 AND installed_status=1 ORDER BY priority ASC in D:\wamp64\www\fecmall\vendor\yiisoft\yii2\db\Schema.php on line 678

Call Stack:
0.0001 399608 1. {main}() D:\wamp64\www\fecmall\yii:0
0.0064 1120496 2. require('D:\wamp64\www\fecmall\common\config\bootstrap.php') D:\wamp64\www\fecmall\yii:19
0.0088 1706360 3. yii\db\Command->queryAll($fetchMode = ???) D:\wamp64\www\fecmall\common\config\bootstrap.php:28
0.0088 1706360 4. yii\db\Command->queryInternal($method = 'fetchAll', $fetchMode = NULL) D:\wamp64\www\fecmall\vendor\yiisoft\yii2\db\Command.php:410

@G-Meteor G-Meteor changed the title yii migrate --interactive=0 --migrationPath=@fecshop/migrations/mysqldb Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'fecmall.extensions' doesn't exist in D:\wamp64\www\fecmall\vendor\yiisoft\yii2\db\Command.php:1302 执行数据库初始化错误:yii migrate --interactive=0 --migrationPath=@fecshop/migrations/mysqldb Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'fecmall.extensions' doesn't exist in D:\wamp64\www\fecmall\vendor\yiisoft\yii2\db\Command.php:1302 Jan 9, 2025
@G-Meteor G-Meteor changed the title 执行数据库初始化错误:yii migrate --interactive=0 --migrationPath=@fecshop/migrations/mysqldb Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'fecmall.extensions' doesn't exist in D:\wamp64\www\fecmall\vendor\yiisoft\yii2\db\Command.php:1302 fecmall-lasted版执行数据库初始化错误:yii migrate --interactive=0 --migrationPath=@fecshop/migrations/mysqldb Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'fecmall.extensions' doesn't exist in D:\wamp64\www\fecmall\vendor\yiisoft\yii2\db\Command.php:1302 Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant