I followed this tutorial. How to connect to workbench. wordpress.
I followed this tutorial
How I can connect to the database.
Note I followed step by step. I did not leave anything. My website I s working perfectly.
If I want to replace wordpress by normal php script and replacing the sql file. Is it will work or not.
Thnak you for your responses.