Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mysql: error creating initial database tables #8561

Open
FreddieAkeroyd opened this issue Oct 30, 2024 · 0 comments
Open

mysql: error creating initial database tables #8561

FreddieAkeroyd opened this issue Oct 30, 2024 · 0 comments
Labels

Comments

@FreddieAkeroyd
Copy link
Member

FreddieAkeroyd commented Oct 30, 2024

During the upgrade to mysql 8.4 (running update_mysql.bat in ibex_utils/installation_and_upgrade) I saw the following error regarding the DELIMITER command when it finally ran EPICS\SystemSetup\config_mysql.bat to populate database tables

image

Acceptance criteria

  • error does not occur when running config_mysql.bat

Notes

before installing mysql 8.4 see if running config_mysql.bat errors on your existing setup. The delimiter command exists in both 8.0 and 8.4 but is a client side rather than SQL specific command, it looks like it is being passed over to the server when it should not be. This may be because the truncate_event.sql is being run by a source command and so skips some of the features (so we need to set delimiter, source, reset delimiter), but that is a pure guess. It may be when loading sql files as we do the delimiter has to be set a different way such as on command line

planning 106:00 2024/10/31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

2 participants