Local to www php & mysql

is it possible to set up some tables, a log in and database on my local server then change some settings , pass, user, database and things to use with the WWW server

my WWW does not support local connection to MySQL database

is it possible?