Open moustafaart4muslim opened 4 years ago
this doesn't seem to be an issue in h/m. maybe you have a corrupted mysql installation?
I have the exact same issue. We are using Laravel Nova to create tenants, which wraps every model creation inside a DB::transaction. May it be related to the fact that the database and user are created inside a transaction?
@Lemondragon I actually expect this to be an issue with server-side settings and now with the package. Could you give us the complete error / stacktrace that you get when this happens? :)
Description
I use hyn multitenancy to create a new database with a new user for each new tenant.
Actual behavior Sometimes when createing a new tenant, I get this error: SQLSTATE[HY000]: General error: 1034 Index for table 'db' is corrupt; try to repair it (SQL: GRANT ALL ON
qqqq
.* TOqqqq
@'127.0.0.1')And if I then close the mysql server, I can't repopen it after that, it's down. ..
Expected behavior It should works without the error ..
Information
tenancy.php config