{"id":21384,"date":"2012-07-18T06:35:49","date_gmt":"2012-07-18T10:35:49","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=21384"},"modified":"2017-07-25T10:10:06","modified_gmt":"2017-07-25T14:10:06","slug":"joomla-how-to-change-database-tables-prefix-in-sql-file","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/joomla-how-to-change-database-tables-prefix-in-sql-file.html","title":{"rendered":"Joomla. How to change database tables prefix in SQL file"},"content":{"rendered":"<p><\/p>\r\n<p>This  tutorial will show you how to change the database table prefix in SQL file in Joomla template.<\/p>\r\n<p><strong>1.<\/strong> If you import the dump file to your database and nothing happens on your website, you should check the database table prefix used for your Joomla installation. Go to <strong>Site &gt; Global configuration<\/strong> and click on <strong>Server<\/strong> tab<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2012\/07\/How_to_change_tables_prefix_in_sql_file_Joomla_01.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/07\/How_to_change_tables_prefix_in_sql_file_Joomla_01-300x129.jpg\" alt=\"\" title=\"How_to_change_tables_prefix_in_sql_file_Joomla_01\" width=\"300\" height=\"129\" class=\"alignnone size-medium wp-image-21385\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/07\/How_to_change_tables_prefix_in_sql_file_Joomla_01-300x129.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/07\/How_to_change_tables_prefix_in_sql_file_Joomla_01.jpg 429w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p><strong>2.<\/strong> Check the field &quot;<strong>Database Tables Prefix<\/strong>&quot; and copy the prefix from there.<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2012\/07\/How_to_change_tables_prefix_in_sql_file_Joomla_02.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/07\/How_to_change_tables_prefix_in_sql_file_Joomla_02-300x117.jpg\" alt=\"\" title=\"How_to_change_tables_prefix_in_sql_file_Joomla_02\" width=\"300\" height=\"117\" class=\"alignnone size-medium wp-image-21386\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/07\/How_to_change_tables_prefix_in_sql_file_Joomla_02-300x117.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/07\/How_to_change_tables_prefix_in_sql_file_Joomla_02.jpg 448w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p><strong>3.<\/strong> Open your <strong>dump.sql<\/strong> file from <strong>Sources<\/strong> folder and choose <strong>Find&amp;Replace<\/strong> tool. You need to replace all &quot;<strong>jos_<\/strong>&quot; instances with your table prefix there. Paste <strong>jos_<\/strong> to the &quot;<strong>Find<\/strong>&quot; field and your prefix to the &quot;<strong>Replace<\/strong>&quot; field, then click on <strong>Replace all<\/strong> button.<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2012\/07\/How_to_change_tables_prefix_in_sql_file_Joomla_03.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/07\/How_to_change_tables_prefix_in_sql_file_Joomla_03-300x177.jpg\" alt=\"\" title=\"How_to_change_tables_prefix_in_sql_file_Joomla_03\" width=\"300\" height=\"177\" class=\"alignnone size-medium wp-image-21387\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/07\/How_to_change_tables_prefix_in_sql_file_Joomla_03-300x177.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/07\/How_to_change_tables_prefix_in_sql_file_Joomla_03.jpg 567w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p><strong>4.<\/strong> Save the file and import it to your database.<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2012\/07\/How_to_change_tables_prefix_in_sql_file_Joomla_04.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/07\/How_to_change_tables_prefix_in_sql_file_Joomla_04-300x130.jpg\" alt=\"\" title=\"How_to_change_tables_prefix_in_sql_file_Joomla_04\" width=\"300\" height=\"130\" class=\"alignnone size-medium wp-image-21388\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/07\/How_to_change_tables_prefix_in_sql_file_Joomla_04-300x130.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/07\/How_to_change_tables_prefix_in_sql_file_Joomla_04.jpg 755w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p><strong>5.<\/strong> Check your website, it should work properly now.<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2012\/07\/How_to_change_tables_prefix_in_sql_file_Joomla_05.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/07\/How_to_change_tables_prefix_in_sql_file_Joomla_05-300x109.jpg\" alt=\"\" title=\"How_to_change_tables_prefix_in_sql_file_Joomla_05\" width=\"300\" height=\"109\" class=\"alignnone size-medium wp-image-21389\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/07\/How_to_change_tables_prefix_in_sql_file_Joomla_05-300x109.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/07\/How_to_change_tables_prefix_in_sql_file_Joomla_05.jpg 1020w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"\/help\/files\/Joomla\/How_to_change_tables_prefix_in_sql_file_Joomla.htm\" target=\"blank\">Joomla. How to change database tables prefix in SQL file<\/a><\/p>\r\n<p><\/p>\r\n<p><\/p>\r\n<p><\/p>\r\n<div class=\"inline-banner\">\r\n<a href=\"https:\/\/www.templatemonster.com\/cart.php?addOffer=587\">\r\n<img src=\"\/help\/files\/banners\/inline\/Banner-1-(500-x100).jpg\" \/>\r\n<\/a>","protected":false},"excerpt":{"rendered":"<p>This  tutorial will show you how to change the database table prefix in SQL file in Joomla template.<\/p>\n","protected":false},"author":7,"featured_media":21392,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[724],"tags":[1183,483,1095,581],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/21384"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=21384"}],"version-history":[{"count":1,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/21384\/revisions"}],"predecessor-version":[{"id":82202,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/21384\/revisions\/82202"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/21392"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=21384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=21384"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=21384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}