diff --git a/product/ERP5/skins/erp5_core/search_category.zsql b/product/ERP5/skins/erp5_core/search_category.zsql
index 6586e41be0c29e06a334de5ff6ce80e54091e6b9..b77eb42f5160485408e930672b8c48bbe39f21b9 100755
--- a/product/ERP5/skins/erp5_core/search_category.zsql
+++ b/product/ERP5/skins/erp5_core/search_category.zsql
@@ -1,6 +1,6 @@
 <dtml-comment>
 title:Search Category
-connection_id:MySQL
+connection_id:erp5_sql_connection
 max_rows:1000
 max_cache:100
 cache_time:0
diff --git a/product/ERP5/skins/erp5_core/search_related.zsql b/product/ERP5/skins/erp5_core/search_related.zsql
index 282814599aebee8fc256e0f9d763aecb6dc6b720..db63db6dbbf6f216c0879c9f481bea32afecccd8 100755
--- a/product/ERP5/skins/erp5_core/search_related.zsql
+++ b/product/ERP5/skins/erp5_core/search_related.zsql
@@ -1,6 +1,6 @@
 <dtml-comment>
 title:Search Category
-connection_id:MySQL
+connection_id:erp5_sql_connection
 max_rows:1000
 max_cache:100
 cache_time:0
diff --git a/product/ERP5/skins/erp5_crm/search_category.zsql b/product/ERP5/skins/erp5_crm/search_category.zsql
index ab76170b65325e9b55bbed9f3ca781b05bbb8c87..7487e1eea9a7037293ec5b4332e5bcf3b7749350 100755
--- a/product/ERP5/skins/erp5_crm/search_category.zsql
+++ b/product/ERP5/skins/erp5_crm/search_category.zsql
@@ -1,24 +1,14 @@
 <dtml-comment>
 title:Search Category
-connection_id:MySQL
+connection_id:erp5_sql_connection
 max_rows:1000
 max_cache:100
 cache_time:0
 class_name:ZSQLBrain
-class_file:zsqlbrain.py	
+class_file:zsqlbrain.py
 </dtml-comment>
 <params>category_list
 portal_type</params>
-<dtml-comment>
-title:Search Category
-connection_id:MySQL
-max_rows:1000
-max_cache:100
-cache_time:0
-class_name:ZSQLBrain
-class_file:zsqlbrain.py
-</dtml-comment>
-
 <dtml-if portal_type>
 SELECT DISTINCT catalog.uid, catalog.path, catalog.relative_url, portal_type
 FROM catalog, category