-
Bug
-
-
Minor
-
Resolution:
Unresolved
-
10.6
-
None
-
-
Currently mariadb-secure-installation mentions the test db and offers to remove it but does not mention eg test_electricity database permissions.
echo "By default, MariaDB comes with a database named 'test' that anyone can"
|
echo "access. This is also intended only for testing, and should be removed"
|
echo "before moving into a production environment."
|
echo
|
[...]
|
echo $echo_n "Remove test database and access to it? [Y/n] $echo_c"
|
Suggest:
echo "By default, MariaDB comes with a database named 'test' that anyone can"
|
echo "access. This is also intended only for testing, and should be removed"
|
echo "before moving into a production environment."
|
echo "These privileges extend to any database named with the 'test_' prefix."
|
echo
|
Also don't drop valid user created create grants:
do_query "DELETE FROM mysql.db WHERE Db='test' OR Db='test\\_%'"
|
do_query "DELETE FROM mysql.db WHERE user='' and (Db='test' OR Db='test\\_%')"
|
This will let the user keep such grants as:
grant all on `test_%`.* to 'testenv'@'localhost';
|
{"report":{"fcp":3233.699999809265,"ttfb":1105.9000005722046,"pageVisibility":"visible","entityId":111885,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"1c7d91c2-51e7-4cc9-ad13-d43bcb45ac71","navigationType":0,"readyForUser":3311.6000003814697,"redirectCount":0,"resourceLoadedEnd":3730,"resourceLoadedStart":1111.1999998092651,"resourceTiming":[{"duration":1553.1000003814697,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":1111.1999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1111.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2664.300000190735,"responseStart":0,"secureConnectionStart":0},{"duration":1553.1999998092651,"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":1111.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1111.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2664.699999809265,"responseStart":0,"secureConnectionStart":0},{"duration":1617.3000001907349,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":1111.6000003814697,"connectEnd":1111.6000003814697,"connectStart":1111.6000003814697,"domainLookupEnd":1111.6000003814697,"domainLookupStart":1111.6000003814697,"fetchStart":1111.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":1111.6000003814697,"responseEnd":2728.9000005722046,"responseStart":2728.9000005722046,"secureConnectionStart":1111.6000003814697},{"duration":1697.3999996185303,"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":1111.9000005722046,"connectEnd":1111.9000005722046,"connectStart":1111.9000005722046,"domainLookupEnd":1111.9000005722046,"domainLookupStart":1111.9000005722046,"fetchStart":1111.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":1111.9000005722046,"responseEnd":2809.300000190735,"responseStart":2809.300000190735,"secureConnectionStart":1111.9000005722046},{"duration":1701.3999996185303,"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":1112.1000003814697,"connectEnd":1112.1000003814697,"connectStart":1112.1000003814697,"domainLookupEnd":1112.1000003814697,"domainLookupStart":1112.1000003814697,"fetchStart":1112.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":1112.1000003814697,"responseEnd":2813.5,"responseStart":2813.5,"secureConnectionStart":1112.1000003814697},{"duration":1701.6000003814697,"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":1112.3000001907349,"connectEnd":1112.3000001907349,"connectStart":1112.3000001907349,"domainLookupEnd":1112.3000001907349,"domainLookupStart":1112.3000001907349,"fetchStart":1112.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":1112.3000001907349,"responseEnd":2813.9000005722046,"responseStart":2813.9000005722046,"secureConnectionStart":1112.3000001907349},{"duration":1701.8000001907349,"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":1112.5,"connectEnd":1112.5,"connectStart":1112.5,"domainLookupEnd":1112.5,"domainLookupStart":1112.5,"fetchStart":1112.5,"redirectEnd":0,"redirectStart":0,"requestStart":1112.5,"responseEnd":2814.300000190735,"responseStart":2814.300000190735,"secureConnectionStart":1112.5},{"duration":1774.9000005722046,"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":1112.6999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1112.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2887.6000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":1701.8999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":1112.9000005722046,"connectEnd":1112.9000005722046,"connectStart":1112.9000005722046,"domainLookupEnd":1112.9000005722046,"domainLookupStart":1112.9000005722046,"fetchStart":1112.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":1112.9000005722046,"responseEnd":2814.800000190735,"responseStart":2814.800000190735,"secureConnectionStart":1112.9000005722046},{"duration":1774.9000005722046,"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":1113,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1113,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2887.9000005722046,"responseStart":0,"secureConnectionStart":0},{"duration":1703,"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":1113.1999998092651,"connectEnd":1113.1999998092651,"connectStart":1113.1999998092651,"domainLookupEnd":1113.1999998092651,"domainLookupStart":1113.1999998092651,"fetchStart":1113.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1113.1999998092651,"responseEnd":2816.199999809265,"responseStart":2816.199999809265,"secureConnectionStart":1113.1999998092651},{"duration":2609.5,"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":1119.5,"connectEnd":1119.5,"connectStart":1119.5,"domainLookupEnd":1119.5,"domainLookupStart":1119.5,"fetchStart":1119.5,"redirectEnd":0,"redirectStart":0,"requestStart":1119.5,"responseEnd":3729,"responseStart":3729,"secureConnectionStart":1119.5},{"duration":2610.3999996185303,"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":1119.6000003814697,"connectEnd":1119.6000003814697,"connectStart":1119.6000003814697,"domainLookupEnd":1119.6000003814697,"domainLookupStart":1119.6000003814697,"fetchStart":1119.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":1119.6000003814697,"responseEnd":3730,"responseStart":3730,"secureConnectionStart":1119.6000003814697},{"duration":769.6999998092651,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":2900.4000005722046,"connectEnd":2900.4000005722046,"connectStart":2900.4000005722046,"domainLookupEnd":2900.4000005722046,"domainLookupStart":2900.4000005722046,"fetchStart":2900.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":2900.4000005722046,"responseEnd":3670.1000003814697,"responseStart":3670.1000003814697,"secureConnectionStart":2900.4000005722046},{"duration":509.8999996185303,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":3222.800000190735,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":3222.800000190735,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":3732.699999809265,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":952,"responseStart":1106,"responseEnd":1113,"domLoading":1109,"domInteractive":3755,"domContentLoadedEventStart":3755,"domContentLoadedEventEnd":3804,"domComplete":5180,"loadEventStart":5180,"loadEventEnd":5181,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":3733.800000190735},{"name":"bigPipe.sidebar-id.end","time":3734.6000003814697},{"name":"bigPipe.activity-panel-pipe-id.start","time":3734.800000190735},{"name":"bigPipe.activity-panel-pipe-id.end","time":3737.5},{"name":"activityTabFullyLoaded","time":3810.199999809265}],"measures":[],"correlationId":"c02f755a8c4ffb","effectiveType":"4g","downlink":9.3,"rtt":0,"serverDuration":95,"dbReadsTimeInMs":12,"dbConnsTimeInMs":22,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}