Concept Flow - PDO connection setup
Start
Define DSN, username, password
Try to create PDO object
Success?
No→Catch exception and handle error
Yes
Connection ready to use
End
This flow shows how PHP tries to connect to a database using PDO, handling errors if connection fails.