瀏覽代碼

updated and completed and tested howto

a.binder 8 年之前
父節點
當前提交
9628e5092b
共有 1 個文件被更改,包括 14 次插入2 次删除
  1. 14 2
      SE/superedit-INSTALL_SES_PROCESY_A.php

+ 14 - 2
SE/superedit-INSTALL_SES_PROCESY_A.php

@@ -2772,6 +2772,7 @@ function INSTALL_SES_PROCESY_A() {
 	 			<br>
 	 			<br>
 	 			Refresh manually file process_table.sql for hand-process updating by running command : <br>
 	 			Refresh manually file process_table.sql for hand-process updating by running command : <br>
 	 				 	 mysqldump -uroot -p -hse.dev.webone.pl SES_USERS2 CRM_PROCES CRM_WSKAZNIK CRM_LISTA_ZASOBOW CRM_TESTY_PYTANIA CRM_IMAGE CRM_IMPORT_TRANSLATE > ".$OPTIONS->SE_config."/config/process_table.sql <br>
 	 				 	 mysqldump -uroot -p -hse.dev.webone.pl SES_USERS2 CRM_PROCES CRM_WSKAZNIK CRM_LISTA_ZASOBOW CRM_TESTY_PYTANIA CRM_IMAGE CRM_IMPORT_TRANSLATE > ".$OPTIONS->SE_config."/config/process_table.sql <br>
+	 				 	 Than scp  this file to remote system by scp <br>
 	 				 	 Than on remote system backup important tables with command:<br>
 	 				 	 Than on remote system backup important tables with command:<br>
 	 				 	 create table CRM_PROCES_copy select * from CRM_PROCES; <br>
 	 				 	 create table CRM_PROCES_copy select * from CRM_PROCES; <br>
 	 				 	 create table CRM_WSKAZNIK_copy select * from CRM_WSKAZNIK;<br>
 	 				 	 create table CRM_WSKAZNIK_copy select * from CRM_WSKAZNIK;<br>
@@ -2781,7 +2782,7 @@ function INSTALL_SES_PROCESY_A() {
 	 				 	 create table CRM_IMPORT_TRANSLATE_copy select * from CRM_IMPORT_TRANSLATE; <br>
 	 				 	 create table CRM_IMPORT_TRANSLATE_copy select * from CRM_IMPORT_TRANSLATE; <br>
 	 				 	 <br>
 	 				 	 <br>
 	 				 	 Than configure import_db with .cnf configs on different IP address<br>
 	 				 	 Than configure import_db with .cnf configs on different IP address<br>
-	 				 	 than run FROM_ZASOBY_TO_ZASOBY ?FUNCTION_INIT=SQIX_STRUCTURE_DB_SYNC <br>
+	 				 	
 	 				 	 echo \";<?php<br>
 	 				 	 echo \";<?php<br>
 ;die(); // For further security<br>
 ;die(); // For further security<br>
 ;// default DB<br>
 ;// default DB<br>
@@ -2795,7 +2796,18 @@ database=\"import\"<br>
 	 				 	 \" > /Library/Server/Web/Data/Sites/Default/SE/config/.cnf--import_db.ini.php <br>
 	 				 	 \" > /Library/Server/Web/Data/Sites/Default/SE/config/.cnf--import_db.ini.php <br>
 	 				 	 Than link it <br>
 	 				 	 Than link it <br>
 	 				 	 ln -s /Library/Server/Web/Data/Sites/Default/SE/config/.cnf--import_db.ini.php /Library/Server/Web/Data/Sites/Default/SE/config/.cnf--import_db-".$h->SERVER_ADDRESS.".ini.php <br>
 	 				 	 ln -s /Library/Server/Web/Data/Sites/Default/SE/config/.cnf--import_db.ini.php /Library/Server/Web/Data/Sites/Default/SE/config/.cnf--import_db-".$h->SERVER_ADDRESS.".ini.php <br>
-	 				 	 
+	 				 	 <br>
+	 				 	 than on remote system on import_db use mysql and following commands:<br>
+	 				 	 create database import; --or ignore if its exists <br>
+	 				 	 use import;<br>
+	 				 	 drop table if exists import.CRM_WSKAZNIK;<br>
+	 				 	 drop table if exists import.CRM_IMAGE;<br>
+	 				 	 drop table if exists import.CRM_LISTA_ZASOBOW;<br>
+	 				 	 drop table if exists import.CRM_PROCES;<br>
+	 				 	 drop table if exists import.CRM_TESTY_PYTANIA;<br>
+
+	 				 	 source  (path to process_table.sql file)  <br>
+	 				 	  than run FROM_ZASOBY_TO_ZASOBY ?FUNCTION_INIT=SQIX_STRUCTURE_DB_SYNC <br>
 	 				 	
 	 				 	
 	 			";
 	 			";
 	 		/* 	
 	 		/*