Geoff Montee (Inactive)
added a comment - I added a note about this to the documentation:
https://mariadb.com/kb/en/library/encrypting-data-for-aria/#enabling-encryption-for-manually-encrypted-tables
Yeah, you just can't do it by setting ENCRYPTED=YES. You have to globally enable encryption for all Aria tables, and then explicitly rebuild the table. See the following documentation section:
Geoff Montee (Inactive)
added a comment - Hi f_razzoli ,
Yeah, you just can't do it by setting ENCRYPTED=YES. You have to globally enable encryption for all Aria tables, and then explicitly rebuild the table. See the following documentation section:
https://mariadb.com/kb/en/library/aria-enabling-encryption/#encrypting-existing-tables
e.g.:
1.) Enable Aria encryption:
MariaDB [(none)]> SET GLOBAL aria_encrypt_tables=ON;
Query OK, 0 rows affected (0.000 sec)
2.) Rebuild the table that you want to ensure is encrypted:
MariaDB [(none)]> ALTER TABLE mysql.global_priv ENGINE=Aria;
Query OK, 7 rows affected (0.017 sec)
Records: 7 Duplicates: 0 Warnings: 0
3.) Confirm that the table is encrypted. See the following documentation section for that:
https://mariadb.com/kb/en/library/aria-encryption-overview/#determining-whether-a-table-is-encrypted
e.g.:
$ sudo strings /var/lib/mysql/mysql/global_priv.MAD | grep "root"
People
Unassigned
Geoff Montee (Inactive)
Votes:
0Vote for this issue
Watchers:
3Start 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":885.1999998092651,"ttfb":248,"pageVisibility":"visible","entityId":71520,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"b81deeb7-8cb1-4c03-be75-6e52fdad98ff","navigationType":0,"readyForUser":963.8999998569489,"redirectCount":0,"resourceLoadedEnd":584.3999998569489,"resourceLoadedStart":257.69999980926514,"resourceTiming":[{"duration":20.600000143051147,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":257.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":257.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":278.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":20.799999952316284,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/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&whisper-enabled=true","startTime":258.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":258.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":278.89999985694885,"responseStart":0,"secureConnectionStart":0},{"duration":182.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":258.2999999523163,"connectEnd":258.2999999523163,"connectStart":258.2999999523163,"domainLookupEnd":258.2999999523163,"domainLookupStart":258.2999999523163,"fetchStart":258.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":282.7999999523163,"responseEnd":441.09999990463257,"responseStart":299.59999990463257,"secureConnectionStart":258.2999999523163},{"duration":308.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/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&whisper-enabled=true","startTime":258.39999985694885,"connectEnd":258.39999985694885,"connectStart":258.39999985694885,"domainLookupEnd":258.39999985694885,"domainLookupStart":258.39999985694885,"fetchStart":258.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":282.2999999523163,"responseEnd":566.6999998092651,"responseStart":294.19999980926514,"secureConnectionStart":258.39999985694885},{"duration":46.799999952316284,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":258.59999990463257,"connectEnd":258.59999990463257,"connectStart":258.59999990463257,"domainLookupEnd":258.59999990463257,"domainLookupStart":258.59999990463257,"fetchStart":258.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":283.7999999523163,"responseEnd":305.39999985694885,"responseStart":302.7999999523163,"secureConnectionStart":258.59999990463257},{"duration":49.299999952316284,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":258.89999985694885,"connectEnd":258.89999985694885,"connectStart":258.89999985694885,"domainLookupEnd":258.89999985694885,"domainLookupStart":258.89999985694885,"fetchStart":258.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":286.19999980926514,"responseEnd":308.19999980926514,"responseStart":303.89999985694885,"secureConnectionStart":258.89999985694885},{"duration":50.299999952316284,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":259,"connectEnd":259,"connectStart":259,"domainLookupEnd":259,"domainLookupStart":259,"fetchStart":259,"redirectEnd":0,"redirectStart":0,"requestStart":286.5,"responseEnd":309.2999999523163,"responseStart":305.5,"secureConnectionStart":259},{"duration":25,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":259.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":259.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":284.19999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":50.200000047683716,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":259.39999985694885,"connectEnd":259.39999985694885,"connectStart":259.39999985694885,"domainLookupEnd":259.39999985694885,"domainLookupStart":259.39999985694885,"fetchStart":259.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":287.2999999523163,"responseEnd":309.59999990463257,"responseStart":306.19999980926514,"secureConnectionStart":259.39999985694885},{"duration":27.09999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/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":259.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":259.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":286.69999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":52.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/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":259.69999980926514,"connectEnd":259.69999980926514,"connectStart":259.69999980926514,"domainLookupEnd":259.69999980926514,"domainLookupStart":259.69999980926514,"fetchStart":259.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":289,"responseEnd":312,"responseStart":310.5,"secureConnectionStart":259.69999980926514},{"duration":318.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":265.59999990463257,"connectEnd":265.59999990463257,"connectStart":265.59999990463257,"domainLookupEnd":265.59999990463257,"domainLookupStart":265.59999990463257,"fetchStart":265.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":343.2999999523163,"responseEnd":584.1999998092651,"responseStart":580.8999998569489,"secureConnectionStart":265.59999990463257},{"duration":318.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":266.09999990463257,"connectEnd":266.09999990463257,"connectStart":266.09999990463257,"domainLookupEnd":266.09999990463257,"domainLookupStart":266.09999990463257,"fetchStart":266.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":344.39999985694885,"responseEnd":584.3999998569489,"responseStart":581.3999998569489,"secureConnectionStart":266.09999990463257},{"duration":85.09999990463257,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":593,"connectEnd":593,"connectStart":593,"domainLookupEnd":593,"domainLookupStart":593,"fetchStart":593,"redirectEnd":0,"redirectStart":0,"requestStart":643.1999998092651,"responseEnd":678.0999999046326,"responseStart":677.3999998569489,"secureConnectionStart":593},{"duration":225.09999990463257,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":802.5,"connectEnd":802.5,"connectStart":802.5,"domainLookupEnd":802.5,"domainLookupStart":802.5,"fetchStart":802.5,"redirectEnd":0,"redirectStart":0,"requestStart":979.2999999523163,"responseEnd":1027.5999999046326,"responseStart":1026.2999999523163,"secureConnectionStart":802.5}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":89,"responseStart":248,"responseEnd":266,"domLoading":256,"domInteractive":1036,"domContentLoadedEventStart":1036,"domContentLoadedEventEnd":1085,"domComplete":1342,"loadEventStart":1342,"loadEventEnd":1342,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1009.8999998569489},{"name":"bigPipe.sidebar-id.end","time":1010.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.start","time":1010.7999999523163},{"name":"bigPipe.activity-panel-pipe-id.end","time":1012.3999998569489},{"name":"activityTabFullyLoaded","time":1105.0999999046326}],"measures":[],"correlationId":"b416862346aa9","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":97,"dbReadsTimeInMs":12,"dbConnsTimeInMs":20,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
I added a note about this to the documentation:
https://mariadb.com/kb/en/library/encrypting-data-for-aria/#enabling-encryption-for-manually-encrypted-tables