MSQL simple connect script

Hello,

Does anyone have a simple mysql connect script in php (or perl cgi)

that simple tries to connect to a mysl database and lets me know if it worked or not?

It would need to take all the basic settings of course: server, user, databasename, password

thanks in advance

David

 

 

 

 

Top