When using standalone server and upgrading to a new version, mysql_upgrade can be run to upgrade the database.
It seems to be not applicable when using embedded server. mysql_upgrade doesn't use --datadir option.
Please provide a way to upgrade the database via CLI or C API.
you can install the server locally from a tarball (just unpack the tarball somewhere), start the server with the --datadir that you need, and then run mysql_upgrade.
Sergei Golubchik
added a comment - you can install the server locally from a tarball (just unpack the tarball somewhere), start the server with the --datadir that you need, and then run mysql_upgrade.
People
Unassigned
June Wallace
Votes:
0Vote for this issue
Watchers:
2Start watching this issue
Dates
Created:
Updated:
Git Integration
Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.
{"report":{"fcp":811.2000002861023,"ttfb":273.90000009536743,"pageVisibility":"visible","entityId":82014,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"65545624-c942-47e0-b375-8ad0ff43ca93","navigationType":0,"readyForUser":860.5,"redirectCount":0,"resourceLoadedEnd":653.8000001907349,"resourceLoadedStart":278.90000009536743,"resourceTiming":[{"duration":43.40000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bsh/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":278.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":278.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":322.30000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":43.09999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bsh/820016/12ta74/eb142f92e4bd16bd1ef8b08c1b9d5d56/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":279.2000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":279.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":322.30000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":92.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/c54b129276d75dc2a3460e1d78f37913-CDN/lu2bsh/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":279.40000009536743,"connectEnd":279.40000009536743,"connectStart":279.40000009536743,"domainLookupEnd":279.40000009536743,"domainLookupStart":279.40000009536743,"fetchStart":279.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":325.40000009536743,"responseEnd":371.7000002861023,"responseStart":339.90000009536743,"secureConnectionStart":279.40000009536743},{"duration":114.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/f867843cd2fdb209d4d1d4f760f86346-CDN/lu2bsh/820016/12ta74/eb142f92e4bd16bd1ef8b08c1b9d5d56/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":279.5,"connectEnd":279.5,"connectStart":279.5,"domainLookupEnd":279.5,"domainLookupStart":279.5,"fetchStart":279.5,"redirectEnd":0,"redirectStart":0,"requestStart":326.59999990463257,"responseEnd":394,"responseStart":347.80000019073486,"secureConnectionStart":279.5},{"duration":69.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/ffdb17665775c5b4d6f097f3974ee359-CDN/lu2bsh/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":279.59999990463257,"connectEnd":279.59999990463257,"connectStart":279.59999990463257,"domainLookupEnd":279.59999990463257,"domainLookupStart":279.59999990463257,"fetchStart":279.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":326.90000009536743,"responseEnd":349,"responseStart":348.5,"secureConnectionStart":279.59999990463257},{"duration":75.2999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":279.7000002861023,"connectEnd":279.7000002861023,"connectStart":279.7000002861023,"domainLookupEnd":279.7000002861023,"domainLookupStart":279.7000002861023,"fetchStart":279.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":327.80000019073486,"responseEnd":355,"responseStart":354.5,"secureConnectionStart":279.7000002861023},{"duration":48.40000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bsh/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":279.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":279.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":328.2000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":73.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":279.80000019073486,"connectEnd":279.80000019073486,"connectStart":279.80000019073486,"domainLookupEnd":279.80000019073486,"domainLookupStart":279.80000019073486,"fetchStart":279.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":329.2000002861023,"responseEnd":353.30000019073486,"responseStart":352.7000002861023,"secureConnectionStart":279.80000019073486},{"duration":98.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":280,"connectEnd":280,"connectStart":280,"domainLookupEnd":280,"domainLookupStart":280,"fetchStart":280,"redirectEnd":0,"redirectStart":0,"requestStart":330.80000019073486,"responseEnd":378.90000009536743,"responseStart":378.40000009536743,"secureConnectionStart":280},{"duration":49.39999961853027,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bsh/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":280.2000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":280.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":329.59999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":78.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/81b5d7c27af3ebc078cc4a36383678ba-CDN/lu2bsh/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":280.2000002861023,"connectEnd":280.2000002861023,"connectStart":280.2000002861023,"domainLookupEnd":280.2000002861023,"domainLookupStart":280.2000002861023,"fetchStart":280.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":332.40000009536743,"responseEnd":358.80000019073486,"responseStart":357.59999990463257,"secureConnectionStart":280.2000002861023},{"duration":361,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":290.40000009536743,"connectEnd":290.40000009536743,"connectStart":290.40000009536743,"domainLookupEnd":290.40000009536743,"domainLookupStart":290.40000009536743,"fetchStart":290.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":640.8000001907349,"responseEnd":651.4000000953674,"responseStart":650.7000002861023,"secureConnectionStart":290.40000009536743},{"duration":362,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":291.80000019073486,"connectEnd":291.80000019073486,"connectStart":291.80000019073486,"domainLookupEnd":291.80000019073486,"domainLookupStart":291.80000019073486,"fetchStart":291.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":642.2000002861023,"responseEnd":653.8000001907349,"responseStart":653.2000002861023,"secureConnectionStart":291.80000019073486},{"duration":166.7999997138977,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":565.7000002861023,"connectEnd":565.7000002861023,"connectStart":565.7000002861023,"domainLookupEnd":565.7000002861023,"domainLookupStart":565.7000002861023,"fetchStart":565.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":704.7000002861023,"responseEnd":732.5,"responseStart":731.9000000953674,"secureConnectionStart":565.7000002861023},{"duration":35.299999713897705,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":786.7000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":786.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":822,"responseStart":0,"secureConnectionStart":0},{"duration":50,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":805.0999999046326,"connectEnd":805.0999999046326,"connectStart":805.0999999046326,"domainLookupEnd":805.0999999046326,"domainLookupStart":805.0999999046326,"fetchStart":805.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":824.5,"responseEnd":855.0999999046326,"responseStart":854.5,"secureConnectionStart":805.0999999046326}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":123,"responseStart":273,"responseEnd":291,"domLoading":277,"domInteractive":907,"domContentLoadedEventStart":907,"domContentLoadedEventEnd":945,"domComplete":1079,"loadEventStart":1079,"loadEventEnd":1079,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":890.0999999046326},{"name":"bigPipe.sidebar-id.end","time":891},{"name":"bigPipe.activity-panel-pipe-id.start","time":891.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.end","time":892},{"name":"activityTabFullyLoaded","time":957.2000002861023}],"measures":[],"correlationId":"6ed7c50d57c3a","effectiveType":"4g","downlink":9.7,"rtt":0,"serverDuration":96,"dbReadsTimeInMs":8,"dbConnsTimeInMs":17,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
you can install the server locally from a tarball (just unpack the tarball somewhere), start the server with the --datadir that you need, and then run mysql_upgrade.