# The cluster crashes

**URL:** <https://forums.percona.com/t/the-cluster-crashes/26130>\
**Category:** Percona XtraDB Cluster\
**Created:** [October 24, 2023, 9:09am UTC](https://forums.percona.com/t/the-cluster-crashes/26130 "2023-10-24T09:09:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akif\_Sinmaz](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/akif_sinmaz/32/13460_2.png) [@Akif\_Sinmaz](https://forums.percona.com/u/Akif_Sinmaz)\
**Post date:** [October 24, 2023, 9:09am UTC](https://forums.percona.com/t/the-cluster-crashes/26130/1 "2023-10-24T09:09:15Z")

</div>

Hi there,

The cluster has been giving an error for a while due to this error. I have to stop and start all mysql services to make the system work.

[mysql\_error.txt](https://forums.percona.com/uploads/short-url/nuNVIzkrvIAJ2HUoTxuF6vb9WZN.txt) (8.3 KB)

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [October 24, 2023, 3:25pm UTC](https://forums.percona.com/t/the-cluster-crashes/26130/2 "2023-10-24T15:25:43Z")

</div>

Looks like you are trying to create a VIEW that already exists (error #1) and you also are trying to create a non-deterministic SQL function without the proper SQL syntax. I suggest you read over your error log again to see the specific error messages and fix your SQL based on the suggestions.

For the VIEW, you only need to create the view on 1 server and it will replicate to all other servers.
