PDA

View Full Version : connect with sql



morfious
April 29th, 2009, 15:32
hi friends i have a chat script which i want to run on my localhost n server both but when i run it it says connect with database i have its database file to but dont know how to conect with database plz help me


thanks

Dan
May 6th, 2009, 07:09
You need to create a database on your server for the script to connect to. The file you have is probably a SQL Dump file, which is used to import the tables to the database.
To host it locally, you will need to install a server on your PC. Do a google for Appserve or Wamp.

Good luck.

DarkBlood
May 6th, 2009, 23:49
Or if you don't have the ability to get a database going and can spare the hours upon hours to re-do your script and your database from scratch, I suggest flatfile!