Re: automate mysql_secure_installation
Actually, you just need to remove the prompts and make sure it
calls the SUBs you want to execute.
OR
Go thru all the SUBs and make the equivalent SQL statements into
a .sql file which you execute as part of your install.
C:\xampp\mysql\scripts>grep -i "^sub" mysql_secure_installation.pl
sub write_file {
sub prepare {
sub do_query {
sub make_config {
sub get_root_password {
sub set_root_password {
sub remove_anonymous_users {
sub remove_remote_root {
sub remove_test_database {
sub reload_privilege_tables {
sub interrupt {
sub cleanup {
Thanks, Jay
Subject
Views
Written By
Posted
7776
August 29, 2009 11:29AM
Re: automate mysql_secure_installation
5641
August 29, 2009 02:21PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.