search
top

MySQL Database restore

I have already listed the PHP script to generate backup of database in one of my earlier post. I am listing here the PHP script to restore database from mysql database file. <?php /* Database Restore */ $username = "dbusername"; //database username $password = 'dbpass'; //database password $hostname = "localhost"; //host $dbname = "dbname"; //database name...
read more

Database Backup

I am listing here the PHP script to generate backup of database. <?php /* Database Backup */ $username = "dbusername"; //database username $password = 'dbpass'; //database password $hostname = "localhost"; //host $dbname = "dbname"; //databse name $sConnString = mysql_connect($hostname, $username, $password) or die("Unable to connect to MySQL"); $name...
read more

top