In my confluence pages there are some old boken links which i wanted to update from the back end or using any other way.
But the step# 3 it throws error
mysql> update bodycontent set body = (select REGEXP_REPLACE(body, '\\|http://newserver/download/attachments/.*/', '|^', 'g')) where bodycontentid in (select bodycontentid from contentmigration);
ERROR 1305 (42000): FUNCTION confluence.REGEXP_REPLACE does not exist
I could understand that the function is not built-in in mySQL like Oracle.Is the function available in some repository.
Could any one please help me in resolving this .Also please let me know if there is any other way to replace the link.
Thanks in Advance,
I think you're right - the problem is that REGEXP_REPLACE is a built in function for Oracle databases.
This StackOverflow article has some suggestions for MySQL - maybe it will help? http://stackoverflow.com/questions/986826/how-to-do-a-regular-expression-replace-in-mysql
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs