Skip to content

Instantly share code, notes, and snippets.

@hien
Created July 20, 2012 07:51
Show Gist options
  • Save hien/3149383 to your computer and use it in GitHub Desktop.
Save hien/3149383 to your computer and use it in GitHub Desktop.
Vi du sua dung augeas cho my.cnf
augeas {"add mysqld section options":
context => "/files/etc/my.cnf/target[. = 'mysqld']",
changes => ["set /files/etc/my.cnf/target[. = 'mysqld'] mysqld",
"set local-infile 0",
"set datadir /var/lib/mysql"],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment