How to install wordpress database into ipsunflez
1) Add the database Wordpress into MySQL.
2) Add the database into ipsunflez by zdb(pg=11000) under "Database","Database","New". take care of the numbering.
2b) Copy config.php under folder ahidden, rename this new config$zdb(the number you create at 1a)).php.
2c) Change the $sqllink number at config$zdb(the config file you create at 1b)).php as below :
$sqllink3=mysqli_connect('localhost','root',$sqlpasswd) or die(mysqli_error());
mysqli_select_db($sqllink3, $database) or die(mysqli_error());
For an example, if you $zdb is 12, then the sqllink is sqllink12 too.
3) Run wp_insert.sql in phpMyAdmin.
3a) Then run wp_insert1.sql, then insert2.sql & then insert3.sql in phpMyAdmin.
You must run the sql in SEQUENCE above.
4) If the $zdb in 2) above is not '6', then you need to change the (f03) zdb11050 into the new $zdb as 2) above :
4a) Goto [Database],[Table],[Search], Select table, [Edit], Select database for table, [Update].
4b) You need to modify all the tables in this database.
4c) Instead of 4a) & 4b), you may just run the following sqls by replacing the $zdb6 below into the number as per
$zdb in 2) above in phpMyAdmin.
UPDATE `ztbl` SET `zdb11050` = '$zdb6' WHERE `ztbl_no` = '1000000' LIMIT 1;
UPDATE `ztbl` SET `zdb11050` = '$zdb6' WHERE `ztbl_no` = '1000050' LIMIT 1;
UPDATE `ztbl` SET `zdb11050` = '$zdb6' WHERE `ztbl_no` = '1000100' LIMIT 1;
UPDATE `ztbl` SET `zdb11050` = '$zdb6' WHERE `ztbl_no` = '1000150' LIMIT 1;
UPDATE `ztbl` SET `zdb11050` = '$zdb6' WHERE `ztbl_no` = '1000200' LIMIT 1;
UPDATE `ztbl` SET `zdb11050` = '$zdb6' WHERE `ztbl_no` = '1000250' LIMIT 1;
UPDATE `ztbl` SET `zdb11050` = '$zdb6' WHERE `ztbl_no` = '1000300' LIMIT 1;
UPDATE `ztbl` SET `zdb11050` = '$zdb6' WHERE `ztbl_no` = '1000350' LIMIT 1;
UPDATE `ztbl` SET `zdb11050` = '$zdb6' WHERE `ztbl_no` = '1000400' LIMIT 1;
UPDATE `ztbl` SET `zdb11050` = '$zdb6' WHERE `ztbl_no` = '1000450' LIMIT 1;
UPDATE `ztbl` SET `zdb11050` = '$zdb6' WHERE `ztbl_no` = '1000500' LIMIT 1;
UPDATE `ztbl` SET `zdb11050` = '$zdb6' WHERE `ztbl_no` = '1000550' LIMIT 1;
You have successfully installed Wordpress into ipsunflez.