how to link database wih my site