We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Invalid catalog name: 1046 No database selected in /www/wwwroot/111/vendor/illuminate/database/Connection.php:333 Stack trace: #0 /www/wwwroot/111/vendor/illuminate/database/Connection.php(333): PDO->prepare('select * from ...') #1 /www/wwwroot/111/vendor/illuminate/database/Connection.php(722): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'select * from ...', Array) #2 /www/wwwroot/111/vendor/illuminate/database/Connection.php(685): Illuminate\Database\Connection->runQueryCallback('select * from ...', Array, Object(Closure)) #3 /www/wwwroot/111/vendor/illuminate/database/Connection.php(349): Illuminate\Database\Connection->run('select * from ...', Array, Object(Closure)) #4 /www/wwwroot/111/vendor/illuminate/database/Query/Builder.php(1610): Illuminate\Database\Connection->select('select * from `...', Array, true) #5 /www/wwwroot/111/vendor/illuminate/database/Query/Builder.php(1596): Illuminate\D in /www/wwwroot/111/vendor/illuminate/database/Connection.php on line 729
...') #1 /www/wwwroot/111/vendor/illuminate/database/Connection.php(722): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'select * from
...', Array, Object(Closure)) #3 /www/wwwroot/111/vendor/illuminate/database/Connection.php(349): Illuminate\Database\Connection->run('select * from
Fatal error: Uncaught PDOException: SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected in /www/wwwroot/111/vendor/illuminate/database/Connection.php:333 Stack trace: #0 /www/wwwroot/111/vendor/illuminate/database/Connection.php(333): PDO->prepare('select * from ...') #1 /www/wwwroot/111/vendor/illuminate/database/Connection.php(722): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'select * from ...', Array) #2 /www/wwwroot/111/vendor/illuminate/database/Connection.php(685): Illuminate\Database\Connection->runQueryCallback('select * from ...', Array, Object(Closure)) #3 /www/wwwroot/111/vendor/illuminate/database/Connection.php(349): Illuminate\Database\Connection->run('select * from ...', Array, Object(Closure)) #4 /www/wwwroot/111/vendor/illuminate/database/Query/Builder.php(1610): Illuminate\Database\Connection->select('select * from `...', Array, true) #5 /www/wwwroot/111/vendor/illuminate/database/Query/Builder.php(1596): Illuminate\D in /www/wwwroot/111/vendor/illuminate/database/Connection.php on line 729
The text was updated successfully, but these errors were encountered:
我今天竟然也碰到这个问题了。楼主怎么解决的?。。
Sorry, something went wrong.
No branches or pull requests
Invalid catalog name: 1046 No database selected in /www/wwwroot/111/vendor/illuminate/database/Connection.php:333
Stack trace:
#0 /www/wwwroot/111/vendor/illuminate/database/Connection.php(333): PDO->prepare('select * from
...') #1 /www/wwwroot/111/vendor/illuminate/database/Connection.php(722): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'select * from
...', Array)#2 /www/wwwroot/111/vendor/illuminate/database/Connection.php(685): Illuminate\Database\Connection->runQueryCallback('select * from
...', Array, Object(Closure)) #3 /www/wwwroot/111/vendor/illuminate/database/Connection.php(349): Illuminate\Database\Connection->run('select * from
...', Array, Object(Closure))#4 /www/wwwroot/111/vendor/illuminate/database/Query/Builder.php(1610): Illuminate\Database\Connection->select('select * from `...', Array, true)
#5 /www/wwwroot/111/vendor/illuminate/database/Query/Builder.php(1596): Illuminate\D in /www/wwwroot/111/vendor/illuminate/database/Connection.php on line 729
Fatal error: Uncaught PDOException: SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected in /www/wwwroot/111/vendor/illuminate/database/Connection.php:333
Stack trace:
#0 /www/wwwroot/111/vendor/illuminate/database/Connection.php(333): PDO->prepare('select * from
...') #1 /www/wwwroot/111/vendor/illuminate/database/Connection.php(722): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'select * from
...', Array)#2 /www/wwwroot/111/vendor/illuminate/database/Connection.php(685): Illuminate\Database\Connection->runQueryCallback('select * from
...', Array, Object(Closure)) #3 /www/wwwroot/111/vendor/illuminate/database/Connection.php(349): Illuminate\Database\Connection->run('select * from
...', Array, Object(Closure))#4 /www/wwwroot/111/vendor/illuminate/database/Query/Builder.php(1610): Illuminate\Database\Connection->select('select * from `...', Array, true)
#5 /www/wwwroot/111/vendor/illuminate/database/Query/Builder.php(1596): Illuminate\D in /www/wwwroot/111/vendor/illuminate/database/Connection.php on line 729
The text was updated successfully, but these errors were encountered: