Doit 1.5.3 | Percona / Galera Cluster -> CREATE FUNCTION alphas .. Fehler
-
hi,
ich habe heute ein Upgrade von 1.4.10 auf 1.5.3 getätigt und hat soweit ich das in den letzten paar Minuten überblicke, auch soweit funktioniert. Klicke ich allerdings z.B. auf einen Switch und Klicke dann auf "Port", erhalte ich den Fehler:
Nachricht Database error : Query error: ' CREATE FUNCTION alphas(str CHAR(100)) RETURNS CHAR(100) DETERMINISTIC READS SQL DATA BEGIN DECLARE i, len SMALLINT DEFAULT 1; DECLARE ret CHAR(100) DEFAULT ''; DECLARE c CHAR(1); SET len = CHAR_LENGTH( str ); REPEAT BEGIN SET c = MID( str, i, 1 ); IF c REGEXP '[[:alpha:]]' THEN SET ret=CONCAT(ret,c); END IF; SET i = i + 1; END; UNTIL i > len END REPEAT; RETURN ret; END': You do not have the SUPER privilege and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)Meine Datenbank ist ein Percona / Galera InnoDB Cluster, bestehend aus drei Nodes. Daher muss ich vor dem Einspielen der Updates per sed aus MyISAM ein InnoDB machen. Wie auch immer, das Problem ist wohl binlog. Die Frage ist nun, wie ich damit umgehen soll, sodass ich meinen Cluster nicht kaputt mache und I-DOIT damit kein Problem hat.
Hat da jemand einen Vorschlag?
cu denny
-
Hallo,
ich habe das gleiche Problem. Hast du eine Lösung gefunden.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login