exec($sql); echo "Database schema created successfully."; } catch (PDOException $e) { die("Database setup failed: " . $e->getMessage()); }