See the details here
<?php
set_time_limit(0);
function setup_saveloadlist() {
// define your server, usually localhost
define("SERVER","localhost");
// define the user who has access to your wwwsqldesigner database
define("USER","");
//define their password
define("PASSWORD","");
// define the wwwsqldesigner database where your keywords will be saved and loaded from
define("DB","home");
// define the wwwsqldesigner database table where you keywords will be saved and loaded from
define("TABLE","wwwsqldesigner");
}
function setup_import() {
// define the server where you will be importing databases from, usually localhost
define("SERVER","localhost");
// define the user who has access to the database you wish to import
define("USER","");
// define their password
define("PASSWORD","");
// leave this as is - do NOT adjust this
define("DB","information_schema");
}
// ================== generally you do not need to edit below this line ==================
function connect() {
$conn = mysql_connect(SERVER,USER,PASSWORD);
if (!$conn) return false;
$res = mysql_select_db(DB);
if (!$res) return false;
return true;
}