exec($query); } } echo "Database initialized successfully!"; } catch (PDOException $e) { die("Database error: " . $e->getMessage()); }