Skip to content

Instantly share code, notes, and snippets.

@brucem
Created July 28, 2011 02:41
Show Gist options
  • Save brucem/1110819 to your computer and use it in GitHub Desktop.
Save brucem/1110819 to your computer and use it in GitHub Desktop.
Mysql to update eZPublish siteID
update ezsite_data set value = md5(concat(UNIX_TIMESTAMP(), '-',rand())) where name = 'ezfind_site_id';
@brucem
Copy link
Author

brucem commented Jul 28, 2011

This is handy if you use an existing installation as the basis of a site that will share the same single core eZFind instance.

This mimics what happens in eZSolr::installationID - you must reindex after running this.

The other option is to remove the ezfind_site_id row completely and allow eZSolr::installationID to regenerate (then reindex)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment