You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During the installation, I was trying to run hard-reset to create the database but got the error : Can't connect to database. please check your settings!
I added cliLog($exception->getMessage()); in core/php/dependencies.php line 349 to get a better error message :
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'slimpddb.users' doesn't exist (SQL: select * from `users` where `users`.`uid` = 1 limit 1)
It seems the database check in core/php/dependencies.php is using the users table and the hard-reset script is calling this dependencies.php script even on its first run, when no tables exists.
I'm not sure how to solve this, either create a init-db task which doesn't run the dependencies.php code or find another way to check for database connectivity.
Anyway the quick workaround is to run CREATE TABLE users (uid int(11));.
The text was updated successfully, but these errors were encountered:
During the installation, I was trying to run
hard-reset
to create the database but got the error :Can't connect to database. please check your settings!
I added
cliLog($exception->getMessage());
incore/php/dependencies.php
line 349 to get a better error message :It seems the database check in
core/php/dependencies.php
is using theusers
table and thehard-reset
script is calling thisdependencies.php
script even on its first run, when no tables exists.I'm not sure how to solve this, either create a
init-db
task which doesn't run thedependencies.php
code or find another way to check for database connectivity.Anyway the quick workaround is to run
CREATE TABLE users (uid int(11));
.The text was updated successfully, but these errors were encountered: