Framework updates

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2026-01-28 04:03:34 +00:00
parent a5e1c604ab
commit 4ad8dde6ad

View File

@@ -371,6 +371,7 @@ class Maint_Migrate extends Command
// Start MySQL
$this->shell_exec_privileged('mkdir -p /var/run/mysqld');
$this->shell_exec_privileged('chown -R mysql:mysql /var/run/mysqld');
$this->shell_exec_privileged('supervisorctl start mysql 2>&1');
// Wait for MySQL to be ready
@@ -482,7 +483,7 @@ class Maint_Migrate extends Command
$attempt = 0;
while ($attempt < $max_attempts) {
$result = shell_exec("echo \"SELECT 'test';\" | mysql -urspade -prspadepass 2>/dev/null | grep test");
$result = shell_exec("echo \"SELECT 'test';\" | mysql -urspade -prspadepass -h 127.0.0.1 2>/dev/null | grep test");
if ($result !== null && str_contains($result, 'test')) {
return;